Package org.keycloak.social.linkedin
Class LinkedInIdentityProviderFactory
- java.lang.Object
-
- org.keycloak.broker.provider.AbstractIdentityProviderFactory<LinkedInIdentityProvider>
-
- org.keycloak.social.linkedin.LinkedInIdentityProviderFactory
-
- All Implemented Interfaces:
IdentityProviderFactory<LinkedInIdentityProvider>,SocialIdentityProviderFactory<LinkedInIdentityProvider>,ProviderFactory<LinkedInIdentityProvider>
public class LinkedInIdentityProviderFactory extends AbstractIdentityProviderFactory<LinkedInIdentityProvider> implements SocialIdentityProviderFactory<LinkedInIdentityProvider>
- Author:
- Vlastimil Elias (velias at redhat dot com)
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROVIDER_ID
-
Constructor Summary
Constructors Constructor Description LinkedInIdentityProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkedInIdentityProvidercreate(KeycloakSession session, IdentityProviderModel model)Creates anIdentityProviderbased on the configuration contained inmodel.OAuth2IdentityProviderConfigcreateConfig()Creates a provider specificIdentityProviderModelinstance.StringgetId()StringgetName()A friendly name for this factory.-
Methods inherited from class org.keycloak.broker.provider.AbstractIdentityProviderFactory
close, create, init, parseConfig, postInit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.broker.provider.IdentityProviderFactory
parseConfig
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
close, create, getConfigMetadata, init, order, postInit
-
-
-
-
Field Detail
-
PROVIDER_ID
public static final String PROVIDER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:IdentityProviderFactoryA friendly name for this factory.
- Specified by:
getNamein interfaceIdentityProviderFactory<LinkedInIdentityProvider>- Returns:
-
create
public LinkedInIdentityProvider create(KeycloakSession session, IdentityProviderModel model)
Description copied from interface:IdentityProviderFactoryCreates an
IdentityProviderbased on the configuration contained inmodel.- Specified by:
createin interfaceIdentityProviderFactory<LinkedInIdentityProvider>model- The configuration to be used to create the identity provider.- Returns:
-
createConfig
public OAuth2IdentityProviderConfig createConfig()
Description copied from interface:IdentityProviderFactoryCreates a provider specific
IdentityProviderModelinstance.Providers may want to implement their own
IdentityProviderModeltype so that validations can be performed when managing the provider configuration- Specified by:
createConfigin interfaceIdentityProviderFactory<LinkedInIdentityProvider>- Returns:
- the provider specific instance
-
getId
public String getId()
- Specified by:
getIdin interfaceProviderFactory<LinkedInIdentityProvider>
-
-