Package org.forgerock.oauth
Class OAuthClientConfiguration
java.lang.Object
org.forgerock.oauth.OAuthClientConfiguration
- Direct Known Subclasses:
OAuth2ClientConfiguration
Base configuration of an OAuth client.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
OAuthClientConfiguration.Builder<T extends OAuthClientConfiguration.Builder<T,
C>, C extends OAuthClientConfiguration> Base builder used to create OAuthClientConfiguration instances. -
Field Summary
-
Constructor Summary
ConstructorDescriptionOAuthClientConfiguration
(OAuthClientConfiguration.Builder<?, ?> builder) Creates an OAuthClientConfiguration instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the unique authentication id that an Idp uses to identify a user by.abstract Class<?>
Gets the class name of the client implementation consuming theOAuthClientConfiguration
.Gets the unique provider name.
-
Field Details
-
PROVIDER
Name of the provider.- See Also:
-
-
Constructor Details
-
OAuthClientConfiguration
Creates an OAuthClientConfiguration instance.- Parameters:
builder
- OAuthClientConfiguration instance builder.
-
-
Method Details
-
getProvider
Gets the unique provider name.- Returns:
- Unique provider name.
-
getAuthenticationIdKey
Gets the unique authentication id that an Idp uses to identify a user by.- Returns:
- authentication Id.
-
getClientClass
Gets the class name of the client implementation consuming theOAuthClientConfiguration
.- Returns:
- the client implementation class name.
-