Class AccessTokenClaimsSet
java.lang.Object
net.shibboleth.idp.plugin.oidc.op.token.support.TokenClaimsSet
net.shibboleth.idp.plugin.oidc.op.token.support.AccessTokenClaimsSet
Class wrapping claims set for access token.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder to create instance of AccessTokenClaimsSet. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringValue of access token claims set type.Fields inherited from class net.shibboleth.idp.plugin.oidc.op.token.support.TokenClaimsSet
KEY_AC_ID, KEY_ACR, KEY_AUDIENCE, KEY_AUTH_TIME, KEY_CLAIMS, KEY_CLIENTID, KEY_CODE_CHALLENGE, KEY_CONSENT_ENABLED, KEY_CONSENTED_CLAIMS, KEY_DELIVERY_CLAIMS, KEY_DELIVERY_CLAIMS_IDTOKEN, KEY_DELIVERY_CLAIMS_USERINFO, KEY_EXPIRATION_TIME, KEY_ISSUED_AT, KEY_ISSUER, KEY_LEGACY_CLIENTID, KEY_NONCE, KEY_NOTBEFORE_TIME, KEY_REDIRECT_URI, KEY_ROOT_JTI, KEY_SCOPE, KEY_SEALED_FOR_OP, KEY_SESSION_ID, KEY_SUBJECT, KEY_TYPE, KEY_USER_PRINCIPAL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAccessTokenClaimsSet(com.nimbusds.jwt.JWTClaimsSet accessTokenClaimsSet) Direct constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessTokenClaimsSetparse(com.nimbusds.jwt.JWT jwtAccessToken, DataSealer dataSealer) Parses access token from sealed access token.static AccessTokenClaimsSetParses access token from string (JSON).static AccessTokenClaimsSetparse(String wrappedAccessToken, DataSealer dataSealer) Parses access token from sealed access token.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.token.support.TokenClaimsSet
assertedClaimsSet, getACR, getAudience, getAuthenticationTime, getClaimsRequest, getClaimsSet, getClientID, getCodeChallenge, getConsentedClaims, getDeliveryClaims, getExp, getID, getIDTokenDeliveryClaims, getIssuedAt, getIssuer, getNonce, getNotBefore, getPrincipal, getRedirectURI, getRootTokenIdentifier, getScope, getSessionIdentifier, getSubject, getType, getUserinfoDeliveryClaims, isConsentEnabled, isTimeValid, serialize, serialize, setClaimsSet, verifyParsedClaims
-
Field Details
-
VALUE_TYPE_AT
Value of access token claims set type.- See Also:
-
-
Constructor Details
-
AccessTokenClaimsSet
protected AccessTokenClaimsSet(@Nonnull com.nimbusds.jwt.JWTClaimsSet accessTokenClaimsSet) Direct constructor.- Parameters:
accessTokenClaimsSet- access token claims set
-
-
Method Details
-
parse
@Nonnull public static AccessTokenClaimsSet parse(@Nonnull @NotEmpty String accessTokenClaimsSet) throws ParseException Parses access token from string (JSON).- Parameters:
accessTokenClaimsSet- JSON String representation of the code- Returns:
- AccessTokenClaimsSet instance if parsing is successful.
- Throws:
ParseException- if parsing fails for example due to incompatible types.
-