Interface TokenCodecContext
- All Superinterfaces:
InvocationContext
- All Known Subinterfaces:
TokenEncoderContext
Token encoder and decoder context.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The access token encoder and decoder properties prefix. -
Method Summary
Modifier and TypeMethodDescriptionReturns the token encoder and decoder properties, if set in the Connect2id server configuration with prefixauthzStore.accessToken.codec.*
.Returns the Hash-based Message Authentication Code (HMAC) computer.Returns the JSON Web Signature (JWS) verifier.Returns the JSON Web Token (JWT) signer.Returns an initialised secure random generator.Methods inherited from interface com.nimbusds.openid.connect.provider.spi.InvocationContext
getIssuer
-
Field Details
-
CODEC_PROPERTIES_PREFIX
The access token encoder and decoder properties prefix.- See Also:
-
-
Method Details
-
getSecureRandom
Returns an initialised secure random generator.- Returns:
- The secure random generator.
-
getJWTSigner
Returns the JSON Web Token (JWT) signer.- Returns:
- The JWT signer.
-
getJWSVerifier
Returns the JSON Web Signature (JWS) verifier.- Returns:
- The JWS verifier.
-
getHMACComputer
Returns the Hash-based Message Authentication Code (HMAC) computer.- Returns:
- The HMAC computer.
-
getCodecProperties
Returns the token encoder and decoder properties, if set in the Connect2id server configuration with prefixauthzStore.accessToken.codec.*
.- Returns:
- The properties, empty if none.
-