public class StackoverflowIdentityProviderFactory extends AbstractIdentityProviderFactory<StackoverflowIdentityProvider> implements SocialIdentityProviderFactory<StackoverflowIdentityProvider>
| Modifier and Type | Field and Description |
|---|---|
static String |
PROVIDER_ID |
| Constructor and Description |
|---|
StackoverflowIdentityProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
StackoverflowIdentityProvider |
create(KeycloakSession session,
IdentityProviderModel model)
Creates an
IdentityProvider based on the configuration contained in
model. |
StackOverflowIdentityProviderConfig |
createConfig()
Creates a provider specific
IdentityProviderModel instance. |
String |
getId() |
String |
getName()
A friendly name for this factory.
|
close, create, init, parseConfig, postInitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseConfigpublic static final String PROVIDER_ID
public StackoverflowIdentityProviderFactory()
public String getName()
IdentityProviderFactoryA friendly name for this factory.
getName in interface IdentityProviderFactory<StackoverflowIdentityProvider>public StackoverflowIdentityProvider create(KeycloakSession session, IdentityProviderModel model)
IdentityProviderFactoryCreates an IdentityProvider based on the configuration contained in
model.
create in interface IdentityProviderFactory<StackoverflowIdentityProvider>model - The configuration to be used to create the identity provider.public StackOverflowIdentityProviderConfig createConfig()
IdentityProviderFactoryCreates a provider specific IdentityProviderModel instance.
Providers may want to implement their own IdentityProviderModel type so that validations
can be performed when managing the provider configuration
createConfig in interface IdentityProviderFactory<StackoverflowIdentityProvider>public String getId()
getId in interface ProviderFactory<StackoverflowIdentityProvider>Copyright © 2021 JBoss by Red Hat. All rights reserved.