Class StackoverflowIdentityProviderFactory
- java.lang.Object
- 
- org.keycloak.broker.provider.AbstractIdentityProviderFactory<StackoverflowIdentityProvider>
- 
- org.keycloak.social.stackoverflow.StackoverflowIdentityProviderFactory
 
 
- 
- All Implemented Interfaces:
- IdentityProviderFactory<StackoverflowIdentityProvider>,- SocialIdentityProviderFactory<StackoverflowIdentityProvider>,- ProviderFactory<StackoverflowIdentityProvider>
 
 public class StackoverflowIdentityProviderFactory extends AbstractIdentityProviderFactory<StackoverflowIdentityProvider> implements SocialIdentityProviderFactory<StackoverflowIdentityProvider> - Author:
- Vlastimil Elias (velias at redhat dot com)
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringPROVIDER_ID
 - 
Constructor SummaryConstructors Constructor Description StackoverflowIdentityProviderFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StackoverflowIdentityProvidercreate(KeycloakSession session, IdentityProviderModel model)Creates anIdentityProviderbased on the configuration contained inmodel.StackOverflowIdentityProviderConfigcreateConfig()Creates a provider specificIdentityProviderModelinstance.StringgetId()StringgetName()A friendly name for this factory.- 
Methods inherited from class org.keycloak.broker.provider.AbstractIdentityProviderFactoryclose, create, init, parseConfig, postInit
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.broker.provider.IdentityProviderFactoryparseConfig
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactoryclose, create, getConfigMetadata, init, order, postInit
 
- 
 
- 
- 
- 
Field Detail- 
PROVIDER_IDpublic static final String PROVIDER_ID - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getNamepublic String getName() Description copied from interface:IdentityProviderFactoryA friendly name for this factory. - Specified by:
- getNamein interface- IdentityProviderFactory<StackoverflowIdentityProvider>
- Returns:
 
 - 
createpublic StackoverflowIdentityProvider create(KeycloakSession session, IdentityProviderModel model) Description copied from interface:IdentityProviderFactoryCreates an IdentityProviderbased on the configuration contained inmodel.- Specified by:
- createin interface- IdentityProviderFactory<StackoverflowIdentityProvider>
- model- The configuration to be used to create the identity provider.
- Returns:
 
 - 
createConfigpublic StackOverflowIdentityProviderConfig 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 interface- IdentityProviderFactory<StackoverflowIdentityProvider>
- Returns:
- the provider specific instance
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- ProviderFactory<StackoverflowIdentityProvider>
 
 
- 
 
-