Package org.keycloak.broker.provider
Interface IdentityProviderFactory<T extends IdentityProvider>
- 
- All Superinterfaces:
- ProviderFactory<T>
 - All Known Subinterfaces:
- SocialIdentityProviderFactory<I>
 - All Known Implementing Classes:
- AbstractIdentityProviderFactory,- BitbucketIdentityProviderFactory,- FacebookIdentityProviderFactory,- GitHubIdentityProviderFactory,- GitLabIdentityProviderFactory,- GoogleIdentityProviderFactory,- InstagramIdentityProviderFactory,- KeycloakOIDCIdentityProviderFactory,- LinkedInIdentityProviderFactory,- MicrosoftIdentityProviderFactory,- OIDCIdentityProviderFactory,- OpenshiftV3IdentityProviderFactory,- OpenshiftV4IdentityProviderFactory,- PayPalIdentityProviderFactory,- SAMLIdentityProviderFactory,- StackoverflowIdentityProviderFactory,- TwitterIdentityProviderFactory
 
 public interface IdentityProviderFactory<T extends IdentityProvider> extends ProviderFactory<T> - Author:
- Pedro Igor
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Tcreate(KeycloakSession session, IdentityProviderModel model)Creates anIdentityProviderbased on the configuration contained inmodel.IdentityProviderModelcreateConfig()Creates a provider specificIdentityProviderModelinstance.StringgetName()A friendly name for this factory.Map<String,String>parseConfig(KeycloakSession session, InputStream inputStream)Creates anIdentityProviderbased on the configuration frominputStream.- 
Methods inherited from interface org.keycloak.provider.ProviderFactoryclose, create, getConfigMetadata, getId, init, order, postInit
 
- 
 
- 
- 
- 
Method Detail- 
getNameString getName() A friendly name for this factory. - Returns:
 
 - 
createT create(KeycloakSession session, IdentityProviderModel model) Creates an IdentityProviderbased on the configuration contained inmodel.- Parameters:
- session-
- model- The configuration to be used to create the identity provider.
- Returns:
 
 - 
parseConfigMap<String,String> parseConfig(KeycloakSession session, InputStream inputStream) Creates an IdentityProviderbased on the configuration frominputStream.- Parameters:
- session-
- inputStream- The input stream from where configuration will be loaded from..
- Returns:
 
 - 
createConfigIdentityProviderModel createConfig() Creates 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
 
 
- 
 
-