public interface IdentityProviderFactory<T extends IdentityProvider> extends ProviderFactory<T>
| Modifier and Type | Method and Description |
|---|---|
T |
create(KeycloakSession session,
IdentityProviderModel model)
Creates an
IdentityProvider based on the configuration contained in
model. |
IdentityProviderModel |
createConfig()
Creates a provider specific
IdentityProviderModel instance. |
String |
getName()
A friendly name for this factory.
|
Map<String,String> |
parseConfig(KeycloakSession session,
InputStream inputStream)
Creates an
IdentityProvider based on the configuration from
inputStream. |
String getName()
A friendly name for this factory.
T create(KeycloakSession session, IdentityProviderModel model)
Creates an IdentityProvider based on the configuration contained in
model.
session - model - The configuration to be used to create the identity provider.Map<String,String> parseConfig(KeycloakSession session, InputStream inputStream)
Creates an IdentityProvider based on the configuration from
inputStream.
session - inputStream - The input stream from where configuration will be loaded from..IdentityProviderModel createConfig()
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
Copyright © 2021 JBoss by Red Hat. All rights reserved.