Interface TokenCodecContext
-
- All Superinterfaces:
InvocationContext
- All Known Subinterfaces:
TokenEncoderContext
public interface TokenCodecContext extends InvocationContext
Token encoder and decoder context.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CODEC_PROPERTIES_PREFIX
The access token encoder and decoder properties prefix.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Properties
getCodecProperties()
Returns the token encoder and decoder properties, if set in the Connect2id server configuration with prefixauthzStore.accessToken.codec.*
.HMACComputer
getHMACComputer()
Returns the Hash-based Message Authentication Code (HMAC) computer.JWSVerifier
getJWSVerifier()
Returns the JSON Web Signature (JWS) verifier.JWTSigner
getJWTSigner()
Returns the JSON Web Token (JWT) signer.SecureRandom
getSecureRandom()
Returns an initialised secure random generator.-
Methods inherited from interface com.nimbusds.openid.connect.provider.spi.InvocationContext
getIssuer
-
-
-
-
Field Detail
-
CODEC_PROPERTIES_PREFIX
static final String CODEC_PROPERTIES_PREFIX
The access token encoder and decoder properties prefix.- See Also:
- Constant Field Values
-
-
Method Detail
-
getSecureRandom
SecureRandom getSecureRandom()
Returns an initialised secure random generator.- Returns:
- The secure random generator.
-
getJWTSigner
JWTSigner getJWTSigner()
Returns the JSON Web Token (JWT) signer.- Returns:
- The JWT signer.
-
getJWSVerifier
JWSVerifier getJWSVerifier()
Returns the JSON Web Signature (JWS) verifier.- Returns:
- The JWS verifier.
-
getHMACComputer
HMACComputer getHMACComputer()
Returns the Hash-based Message Authentication Code (HMAC) computer.- Returns:
- The HMAC computer.
-
getCodecProperties
Properties 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.
-
-