Class LinkedInClientConfiguration
- java.lang.Object
-
- org.forgerock.oauth.OAuthClientConfiguration
-
- org.forgerock.oauth.clients.oauth2.OAuth2ClientConfiguration
-
- org.forgerock.oauth.clients.linkedin.LinkedInClientConfiguration
-
public class LinkedInClientConfiguration extends OAuth2ClientConfiguration
Configuration used forLinkedInClient
Implementation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LinkedInClientConfiguration.Builder
Builder used to createLinkedInClientConfiguration
instance.
-
Field Summary
-
Fields inherited from class org.forgerock.oauth.OAuthClientConfiguration
PROVIDER
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LinkedInClientConfiguration(LinkedInClientConfiguration.Builder builder)
Creates anLinkedInClientConfiguration
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
getClientClass()
Gets the class name of the client implementation consuming theOAuth2ClientConfiguration
.protected URI
getEmailAddressEndpoint()
Gets the email address endpoint.PkceMethod
getPkceMethod()
Gets the PKCE transformation method to us when making requests to the authorization endpoint.static LinkedInClientConfiguration.Builder
linkedinClientConfiguration()
Creates a new builder forLinkedInClientConfiguration
.-
Methods inherited from class org.forgerock.oauth.clients.oauth2.OAuth2ClientConfiguration
getAuthenticationFilter, getAuthorizationEndpoint, getClientId, getClientSecret, getClientSecretReference, getIntrospectEndpoint, getRedirectUri, getResponseMode, getScope, getScopeDelimiter, getTokenEndpoint, getUserInfoEndpoint, oauth2ClientConfiguration
-
Methods inherited from class org.forgerock.oauth.OAuthClientConfiguration
getAuthenticationIdKey, getProvider
-
-
-
-
Constructor Detail
-
LinkedInClientConfiguration
protected LinkedInClientConfiguration(LinkedInClientConfiguration.Builder builder)
Creates anLinkedInClientConfiguration
instance.- Parameters:
builder
-LinkedInClientConfiguration
instance builder.
-
-
Method Detail
-
getClientClass
public Class<?> getClientClass()
Description copied from class:OAuth2ClientConfiguration
Gets the class name of the client implementation consuming theOAuth2ClientConfiguration
.- Overrides:
getClientClass
in classOAuth2ClientConfiguration
- Returns:
- the client implementation class name.
-
getEmailAddressEndpoint
protected URI getEmailAddressEndpoint()
Gets the email address endpoint.- Returns:
- the email address endpoint
-
linkedinClientConfiguration
public static LinkedInClientConfiguration.Builder linkedinClientConfiguration()
Creates a new builder forLinkedInClientConfiguration
.- Returns:
- new
LinkedInClientConfiguration
builder instance.
-
getPkceMethod
public PkceMethod getPkceMethod()
Description copied from class:OAuth2ClientConfiguration
Gets the PKCE transformation method to us when making requests to the authorization endpoint.- Overrides:
getPkceMethod
in classOAuth2ClientConfiguration
- Returns:
- the PKCE transformation method.
-
-