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
public class OpenIDConnectClientConfiguration extends OAuth2ClientConfiguration
Configuration used for OpenID Connect Client Implementations. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenIDConnectClientConfiguration.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
Constructors Modifier Constructor Description protectedOpenIDConnectClientConfiguration(OpenIDConnectClientConfiguration.Builder<?,?> builder)Creates an OpenIDConnectClientConfiguration instance. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAcrValues()Gets the acr values.ClaimsgetClaims()Gets the request "claims" parameter value.Class<?>getClientClass()Gets the class name of the client implementation consuming theOpenIDConnectClientConfiguration.StringgetIssuer()Gets the issuer.URIgetJwkSetEndpoint()Gets jwk set endpoint used to configure theOpenIdResolverService.JwtRequestParameterOptiongetJwtRequestParameterOption()Gets the means by which request parameter jwt would be sent to OIDC provider.StringgetKeyAlias()Gets the key alias used to configure theOpenIdResolverService.StringgetKeystoreLocation()Gets the keystore location used to configure theOpenIdResolverService.StringgetKeystorePassword()Gets the keystore password used to configure theOpenIdResolverService.StringgetKeystoreType()Gets the keystore type used to configure theOpenIdResolverService.protected Map<String,String>getOpenIdResolverServiceConfig()Returns the configuration needed to configureOpenIdResolverService.URIgetWellKnownEndpoint()Gets the well-known endpoint.booleanhasEncryptedIdTokens()Determines whether the client should expect received ID tokens to be encrypted.static OpenIDConnectClientConfiguration.Builder<? extends OpenIDConnectClientConfiguration.Builder,OpenIDConnectClientConfiguration>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 Detail
- 
OpenIDConnectClientConfiguration
protected OpenIDConnectClientConfiguration(OpenIDConnectClientConfiguration.Builder<?,?> builder)
Creates an OpenIDConnectClientConfiguration instance.- Parameters:
 builder- OpenIDConnectClientConfiguration instance builder.
 
 - 
 
- 
Method Detail
- 
openIdConnectClientConfiguration
public static OpenIDConnectClientConfiguration.Builder<? extends OpenIDConnectClientConfiguration.Builder,OpenIDConnectClientConfiguration> openIdConnectClientConfiguration()
Creates a new builder for OpenIDConnectClientConfiguration.- Returns:
 - new OpenIDConnectClientConfiguration builder instance.
 
 
- 
getClientClass
public Class<?> getClientClass()
Gets the class name of the client implementation consuming theOpenIDConnectClientConfiguration.- Overrides:
 getClientClassin classOAuth2ClientConfiguration- Returns:
 - the client implementation class name.
 
 
- 
getWellKnownEndpoint
public URI getWellKnownEndpoint()
Gets the well-known endpoint.- Returns:
 - well-known endpoint.
 
 
- 
getKeyAlias
public String getKeyAlias()
Gets the key alias used to configure theOpenIdResolverService.- Returns:
 - key alias.
 
 
- 
getJwkSetEndpoint
public URI getJwkSetEndpoint()
Gets jwk set endpoint used to configure theOpenIdResolverService.- Returns:
 - jwkSetEndpoint.
 
 
- 
getKeystoreLocation
public String getKeystoreLocation()
Gets the keystore location used to configure theOpenIdResolverService.- Returns:
 - keystore location.
 
 
- 
getKeystorePassword
public String getKeystorePassword()
Gets the keystore password used to configure theOpenIdResolverService.- Returns:
 - keystore password.
 
 
- 
getKeystoreType
public String getKeystoreType()
Gets the keystore type used to configure theOpenIdResolverService.- Returns:
 - keystore type.
 
 
- 
getIssuer
public String 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
public JwtRequestParameterOption getJwtRequestParameterOption()
Gets the means by which request parameter jwt would be sent to OIDC provider.- Returns:
 - the request object options.
 
 
- 
getClaims
public Claims getClaims()
Gets the request "claims" parameter value.- Returns:
 - the request claims.
 
 
- 
getOpenIdResolverServiceConfig
protected Map<String,String> getOpenIdResolverServiceConfig()
Returns the configuration needed to configureOpenIdResolverService.- Returns:
 Mapof configuration.
 
 - 
 
 -