Package org.forgerock.oauth.resolvers
Class EncryptedOpenIdResolverFactory
- java.lang.Object
-
- org.forgerock.oauth.resolvers.EncryptedOpenIdResolverFactory
-
public class EncryptedOpenIdResolverFactory extends Object
Factory class responsible for creatingEncryptedOpenIdResolver
instances.
-
-
Constructor Summary
Constructors Constructor Description EncryptedOpenIdResolverFactory(SecretsProvider secretsProvider, Purpose<DataDecryptionKey> idTokenPurpose)
Constructs a newEncryptedOpenIdResolverFactory
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedOpenIdResolver
create(OpenIdResolver underlyingResolver)
Creates a newEncryptedOpenIdResolver
instance, wrapping the passed signing based resolver.
-
-
-
Constructor Detail
-
EncryptedOpenIdResolverFactory
public EncryptedOpenIdResolverFactory(SecretsProvider secretsProvider, Purpose<DataDecryptionKey> idTokenPurpose)
Constructs a newEncryptedOpenIdResolverFactory
instance.- Parameters:
secretsProvider
- the secrets provideridTokenPurpose
- the ID token purpose
-
-
Method Detail
-
create
public EncryptedOpenIdResolver create(OpenIdResolver underlyingResolver)
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
-
-