Package org.forgerock.oauth.resolvers
Class EncryptedOpenIdResolverFactory
java.lang.Object
org.forgerock.oauth.resolvers.EncryptedOpenIdResolverFactory
Factory class responsible for creating
EncryptedOpenIdResolver
instances.-
Constructor Summary
ConstructorDescriptionEncryptedOpenIdResolverFactory
(SecretsProvider secretsProvider, Purpose<DataDecryptionKey> idTokenPurpose) Constructs a newEncryptedOpenIdResolverFactory
instance. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(OpenIdResolver underlyingResolver) Creates a newEncryptedOpenIdResolver
instance, wrapping the passed signing based resolver.
-
Constructor Details
-
EncryptedOpenIdResolverFactory
public EncryptedOpenIdResolverFactory(SecretsProvider secretsProvider, Purpose<DataDecryptionKey> idTokenPurpose) Constructs a newEncryptedOpenIdResolverFactory
instance.- Parameters:
secretsProvider
- the secrets provideridTokenPurpose
- the ID token purpose
-
-
Method Details
-
create
Creates a newEncryptedOpenIdResolver
instance, wrapping the passed signing based resolver.- Parameters:
underlyingResolver
- non-null signing based resolver to be wrapped- Returns:
- an instance of
EncryptedOpenIdResolver
-