public class InstagramIdentityProviderFactory extends AbstractIdentityProviderFactory<InstagramIdentityProvider> implements SocialIdentityProviderFactory<InstagramIdentityProvider>
Modifier and Type | Field and Description |
---|---|
static String |
PROVIDER_ID |
Constructor and Description |
---|
InstagramIdentityProviderFactory() |
Modifier and Type | Method and Description |
---|---|
InstagramIdentityProvider |
create(KeycloakSession session,
IdentityProviderModel model)
Creates an
IdentityProvider based on the configuration contained in
model . |
OAuth2IdentityProviderConfig |
createConfig()
Creates a provider specific
IdentityProviderModel instance. |
String |
getId() |
String |
getName()
A friendly name for this factory.
|
close, create, init, parseConfig, postInit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parseConfig
public static final String PROVIDER_ID
public String getName()
IdentityProviderFactory
A friendly name for this factory.
getName
in interface IdentityProviderFactory<InstagramIdentityProvider>
public InstagramIdentityProvider create(KeycloakSession session, IdentityProviderModel model)
IdentityProviderFactory
Creates an IdentityProvider
based on the configuration contained in
model
.
create
in interface IdentityProviderFactory<InstagramIdentityProvider>
model
- The configuration to be used to create the identity provider.public OAuth2IdentityProviderConfig createConfig()
IdentityProviderFactory
Creates 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<InstagramIdentityProvider>
public String getId()
getId
in interface ProviderFactory<InstagramIdentityProvider>
Copyright © 2020 JBoss by Red Hat. All rights reserved.