Uses of Class
org.forgerock.json.jose.tokenhandler.SecretsJwtTokenHandler.Builder
-
Uses of SecretsJwtTokenHandler.Builder in org.forgerock.json.jose.tokenhandler
Modifier and TypeMethodDescriptionSecretsJwtTokenHandler.builder()
Creates a newSecretsJwtTokenHandler.Builder
object to configure aSecretsJwtTokenHandler
instance.Specifies the clock to use for checking if tokens have expired.SecretsJwtTokenHandler.Builder.decryptionPurpose
(Purpose<? extends CryptoKey> decryptionKeyPurpose) Specifies thePurpose
used to retrieve decryption keys from the secrets provider.SecretsJwtTokenHandler.Builder.encryptionMethod
(EncryptionMethod encryptionMethod) Specifies the JWE content encryption method to use when encrypting tokens produced by this token handler.SecretsJwtTokenHandler.Builder.encryptionPurpose
(Purpose<? extends CryptoKey> encryptionKeyPurpose) Specifies thePurpose
used to retrieve encryption keys from the secrets provider.SecretsJwtTokenHandler.Builder.jweAlgorithm
(JweAlgorithm algorithm) Specifies the JWE key management algorithm to use when encrypting tokens produced by this token handler.SecretsJwtTokenHandler.Builder.jwsAlgorithm
(JwsAlgorithm algorithm) Specifies the JWS signature algorithm to use to sign tokens produced by this token handler.SecretsJwtTokenHandler.Builder.secretsProvider
(SecretsProvider secretsProvider) Configures theSecretsProvider
from which to retrieve signing and encryption keys.SecretsJwtTokenHandler.Builder.signingPurpose
(Purpose<SigningKey> signingKeyPurpose) Specifies thePurpose
used to retrieve signing keys from the secrets provider.SecretsJwtTokenHandler.Builder.tokenLifetimeInSeconds
(long tokenLifetimeSeconds) Specifies the maximum lifetime (in seconds) of the tokens produced by this token handler.SecretsJwtTokenHandler.Builder.tokenLifetimeInSeconds
(Optional<Long> tokenLifeTimeInSeconds) Specifies the maximum lifetime (in seconds) of the tokens produced by this token handler.SecretsJwtTokenHandler.Builder.verificationPurpose
(Purpose<VerificationKey> verificationKeyPurpose) Specifies thePurpose
used to retrieve verification keys from the secrets provider.