Package org.forgerock.oauth.clients.oidc
Class OpenIDConnectClientConfiguration
java.lang.Object
org.forgerock.oauth.OAuthClientConfiguration
org.forgerock.oauth.clients.oauth2.OAuth2ClientConfiguration
org.forgerock.oauth.clients.oidc.OpenIDConnectClientConfiguration
- Direct Known Subclasses:
AppleClientConfiguration
Configuration used for OpenID Connect Client Implementations.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
OpenIDConnectClientConfiguration.Builder<T extends OpenIDConnectClientConfiguration.Builder<T,
C>, C extends OAuth2ClientConfiguration> Builder class for creating the OpenIDConnectClientConfiguration. -
Field Summary
Fields inherited from class org.forgerock.oauth.OAuthClientConfiguration
PROVIDER
-
Constructor Summary
ModifierConstructorDescriptionprotected
Creates an OpenIDConnectClientConfiguration instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the acr values.Gets the request "claims" parameter value.Class<?>
Gets the class name of the client implementation consuming theOpenIDConnectClientConfiguration
.Gets the issuer.Gets jwk set endpoint used to configure theOpenIdResolverService
.Gets the means by which request parameter jwt would be sent to OIDC provider.Gets the key alias used to configure theOpenIdResolverService
.Gets the keystore location used to configure theOpenIdResolverService
.Gets the keystore password used to configure theOpenIdResolverService
.Gets the keystore type used to configure theOpenIdResolverService
.Returns the configuration needed to configureOpenIdResolverService
.Gets the well-known endpoint.boolean
Determines whether the client should expect received ID tokens to be encrypted.static OpenIDConnectClientConfiguration.Builder<? extends OpenIDConnectClientConfiguration.Builder,
OpenIDConnectClientConfiguration> Creates a new builder for OpenIDConnectClientConfiguration.Methods inherited from class org.forgerock.oauth.clients.oauth2.OAuth2ClientConfiguration
getAuthenticationFilter, getAuthorizationEndpoint, getClientId, getClientSecret, getClientSecretReference, getIntrospectEndpoint, getPkceMethod, getRedirectUri, getResponseMode, getScope, getScopeDelimiter, getTokenEndpoint, getUserInfoEndpoint, oauth2ClientConfiguration
Methods inherited from class org.forgerock.oauth.OAuthClientConfiguration
getAuthenticationIdKey, getProvider
-
Constructor Details
-
OpenIDConnectClientConfiguration
Creates an OpenIDConnectClientConfiguration instance.- Parameters:
builder
- OpenIDConnectClientConfiguration instance builder.
-
-
Method Details
-
openIdConnectClientConfiguration
public static OpenIDConnectClientConfiguration.Builder<? extends OpenIDConnectClientConfiguration.Builder,OpenIDConnectClientConfiguration> openIdConnectClientConfiguration()Creates a new builder for OpenIDConnectClientConfiguration.- Returns:
- new OpenIDConnectClientConfiguration builder instance.
-
getClientClass
Gets the class name of the client implementation consuming theOpenIDConnectClientConfiguration
.- Overrides:
getClientClass
in classOAuth2ClientConfiguration
- Returns:
- the client implementation class name.
-
getWellKnownEndpoint
Gets the well-known endpoint.- Returns:
- well-known endpoint.
-
getAcrValues
Gets the acr values.- Returns:
- the acr values.
-
getKeyAlias
Gets the key alias used to configure theOpenIdResolverService
.- Returns:
- key alias.
-
getJwkSetEndpoint
Gets jwk set endpoint used to configure theOpenIdResolverService
.- Returns:
- jwkSetEndpoint.
-
getKeystoreLocation
Gets the keystore location used to configure theOpenIdResolverService
.- Returns:
- keystore location.
-
getKeystorePassword
Gets the keystore password used to configure theOpenIdResolverService
.- Returns:
- keystore password.
-
getKeystoreType
Gets the keystore type used to configure theOpenIdResolverService
.- Returns:
- keystore type.
-
getIssuer
Gets the issuer.- Returns:
- issuer's name - the OpenID Connect "iss" field.
-
hasEncryptedIdTokens
public boolean hasEncryptedIdTokens()Determines whether the client should expect received ID tokens to be encrypted.- Returns:
- whether the client should expect received ID tokens to be encrypted
-
getJwtRequestParameterOption
Gets the means by which request parameter jwt would be sent to OIDC provider.- Returns:
- the request object options.
-
getClaims
Gets the request "claims" parameter value.- Returns:
- the request claims.
-
getOpenIdResolverServiceConfig
Returns the configuration needed to configureOpenIdResolverService
.- Returns:
Map
of configuration.
-