Package org.keycloak.broker.oauth
Class OAuth2IdentityProviderFactory
java.lang.Object
org.keycloak.broker.provider.AbstractIdentityProviderFactory<OAuth2IdentityProvider>
org.keycloak.broker.oauth.OAuth2IdentityProviderFactory
- All Implemented Interfaces:
IdentityProviderFactory<OAuth2IdentityProvider>,ConfiguredProvider,ProviderFactory<OAuth2IdentityProvider>
public class OAuth2IdentityProviderFactory
extends AbstractIdentityProviderFactory<OAuth2IdentityProvider>
-
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.parseConfig(KeycloakSession session, String rawConfig) Creates anIdentityProviderbased on the configuration frominputStream.Methods inherited from class org.keycloak.broker.provider.AbstractIdentityProviderFactory
close, create, init, 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, getHelpTextMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
OAuth2IdentityProviderFactory
public OAuth2IdentityProviderFactory()
-
-
Method Details
-
getId
-
getName
Description copied from interface:IdentityProviderFactoryA friendly name for this factory.
- Returns:
-
create
Description copied from interface:IdentityProviderFactoryCreates an
IdentityProviderbased on the configuration contained inmodel.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- Returns:
- the provider specific instance
-
parseConfig
Description copied from interface:IdentityProviderFactoryCreates an
IdentityProviderbased on the configuration frominputStream.- Specified by:
parseConfigin interfaceIdentityProviderFactory<OAuth2IdentityProvider>- Overrides:
parseConfigin classAbstractIdentityProviderFactory<OAuth2IdentityProvider>rawConfig- The configuration for the provider- Returns:
-