Package org.keycloak.broker.provider
Class AbstractIdentityProviderFactory<T extends IdentityProvider>
java.lang.Object
org.keycloak.broker.provider.AbstractIdentityProviderFactory<T>
- All Implemented Interfaces:
IdentityProviderFactory<T>
,ConfiguredProvider
,ProviderFactory<T>
- Direct Known Subclasses:
BitbucketIdentityProviderFactory
,FacebookIdentityProviderFactory
,GitHubIdentityProviderFactory
,GitLabIdentityProviderFactory
,GoogleIdentityProviderFactory
,InstagramIdentityProviderFactory
,KeycloakOIDCIdentityProviderFactory
,LinkedInOIDCIdentityProviderFactory
,MicrosoftIdentityProviderFactory
,OIDCIdentityProviderFactory
,OpenshiftV3IdentityProviderFactory
,OpenshiftV4IdentityProviderFactory
,PayPalIdentityProviderFactory
,SAMLIdentityProviderFactory
,StackoverflowIdentityProviderFactory
,TwitterIdentityProviderFactory
public abstract class AbstractIdentityProviderFactory<T extends IdentityProvider>
extends Object
implements IdentityProviderFactory<T>
- Author:
- Pedro Igor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
This is called when the server shuts down.create
(KeycloakSession session) void
init
(Config.Scope config) Only called once when the factory is first created.parseConfig
(KeycloakSession session, String config) Creates anIdentityProvider
based on the configuration frominputStream
.void
postInit
(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig
Methods inherited from interface org.keycloak.broker.provider.IdentityProviderFactory
create, createConfig, getConfigProperties, getHelpText, getName
Methods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, getId, order
-
Constructor Details
-
AbstractIdentityProviderFactory
public AbstractIdentityProviderFactory()
-
-
Method Details
-
close
public void close()Description copied from interface:ProviderFactory
This is called when the server shuts down.- Specified by:
close
in interfaceProviderFactory<T extends IdentityProvider>
-
init
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory<T extends IdentityProvider>
-
postInit
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory<T extends IdentityProvider>
-
create
- Specified by:
create
in interfaceProviderFactory<T extends IdentityProvider>
-
parseConfig
Description copied from interface:IdentityProviderFactory
Creates an
IdentityProvider
based on the configuration frominputStream
.- Specified by:
parseConfig
in interfaceIdentityProviderFactory<T extends IdentityProvider>
config
- The configuration for the provider- Returns:
-