Package org.keycloak.social.instagram
Class InstagramIdentityProviderFactory
java.lang.Object
org.keycloak.broker.provider.AbstractIdentityProviderFactory<InstagramIdentityProvider>
org.keycloak.social.instagram.InstagramIdentityProviderFactory
- All Implemented Interfaces:
IdentityProviderFactory<InstagramIdentityProvider>,SocialIdentityProviderFactory<InstagramIdentityProvider>,ConfiguredProvider,EnvironmentDependentProviderFactory,ProviderFactory<InstagramIdentityProvider>
public class InstagramIdentityProviderFactory
extends AbstractIdentityProviderFactory<InstagramIdentityProvider>
implements SocialIdentityProviderFactory<InstagramIdentityProvider>, EnvironmentDependentProviderFactory
- Author:
- Pedro Igor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(KeycloakSession session, IdentityProviderModel model) Creates anIdentityProviderbased on the configuration contained inmodel.Creates a provider specificIdentityProviderModelinstance.getId()getName()A friendly name for this factory.booleanisSupported(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.Methods inherited from class org.keycloak.broker.provider.AbstractIdentityProviderFactory
close, create, init, parseConfig, postInitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfigMethods inherited from interface org.keycloak.broker.provider.IdentityProviderFactory
getConfigProperties, getHelpText, parseConfigMethods inherited from interface org.keycloak.provider.ProviderFactory
close, create, dependsOn, getConfigMetadata, init, order, postInit
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
InstagramIdentityProviderFactory
public InstagramIdentityProviderFactory()
-
-
Method Details
-
getName
Description copied from interface:IdentityProviderFactoryA friendly name for this factory.
- Specified by:
getNamein interfaceIdentityProviderFactory<InstagramIdentityProvider>- Returns:
-
create
Description copied from interface:IdentityProviderFactoryCreates an
IdentityProviderbased on the configuration contained inmodel.- Specified by:
createin interfaceIdentityProviderFactory<InstagramIdentityProvider>model- The configuration to be used to create the identity provider.- Returns:
-
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<InstagramIdentityProvider>- Returns:
- the provider specific instance
-
getId
- Specified by:
getIdin interfaceProviderFactory<InstagramIdentityProvider>
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactoryCheck if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Parameters:
config- the provider configuration- Returns:
trueif the provider is supported. Otherwise,false.
-