public final class CloudJwtPrincipal extends JwtPrincipal
JwtPrincipal
with custom Confluent Cloud claimsModifier and Type | Field and Description |
---|---|
static String |
CLAIM_CLUSTERS |
static String |
CLAIM_ORGANIZATION_ID |
static String |
CLAIM_USER_ID |
static String |
CLAIM_USER_RESOURCE_ID |
Constructor and Description |
---|
CloudJwtPrincipal(org.jose4j.jwt.JwtClaims claims) |
Modifier and Type | Method and Description |
---|---|
List<String> |
clusters() |
Long |
organizationId() |
Long |
userId() |
String |
userResourceId() |
asMap, audience, authorizedParty, claimValue, claimValues, expiresOn, getName, issuedAt, issuer, jti, notBefore, subject
public static final String CLAIM_CLUSTERS
public static final String CLAIM_ORGANIZATION_ID
public static final String CLAIM_USER_ID
public static final String CLAIM_USER_RESOURCE_ID