Class AuthorizeCodeClaimsSet
java.lang.Object
net.shibboleth.idp.plugin.oidc.op.token.support.TokenClaimsSet
net.shibboleth.idp.plugin.oidc.op.token.support.AuthorizeCodeClaimsSet
Class wrapping claims set for authorize code.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder to create instance of AuthorizeCodeClaimsSet. -
Field Summary
FieldsFields 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_CONFIRMATION, KEY_CONSENT_ENABLED, KEY_CONSENTED_CLAIMS, KEY_DELIVERY_CLAIMS, KEY_DELIVERY_CLAIMS_IDTOKEN, KEY_DELIVERY_CLAIMS_USERINFO, KEY_DPOP_PROOF_JWK_THUMBPRINT, 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
ConstructorsModifierConstructorDescriptionprivateAuthorizeCodeClaimsSet(com.nimbusds.jwt.JWTClaimsSet authzCodeClaimsSet) Private constructor for the parser. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthorizeCodeClaimsSetParses authz code from string (JSON).static AuthorizeCodeClaimsSetparse(String wrappedAuthCode, DataSealer dataSealer) Parses authz code from sealed authorization code.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.token.support.TokenClaimsSet
assertedClaimsSet, getACR, getAudience, getAuthenticationTime, getClaimsRequest, getClaimsSet, getClientID, getCodeChallenge, getConsentedClaims, getDeliveryClaims, getDpopProofJwkThumbprint, 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_AC
Value of authorize code claims set type.- See Also:
-
-
Constructor Details
-
AuthorizeCodeClaimsSet
private AuthorizeCodeClaimsSet(@Nonnull com.nimbusds.jwt.JWTClaimsSet authzCodeClaimsSet) Private constructor for the parser.- Parameters:
authzCodeClaimsSet- authorize code claims set
-
-
Method Details
-
parse
Parses authz code from string (JSON).- Parameters:
authorizeCodeClaimsSet- JSON String representation of the code- Returns:
- AuthorizeCodeClaimsSet instance if parsing is successful.
- Throws:
ParseException- if parsing fails for example due to incompatible types.
-