public class KeycloakOIDCIdentityProviderFactory extends AbstractIdentityProviderFactory<KeycloakOIDCIdentityProvider>
| Modifier and Type | Field and Description |
|---|---|
static String |
PROVIDER_ID |
| Constructor and Description |
|---|
KeycloakOIDCIdentityProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
KeycloakOIDCIdentityProvider |
create(KeycloakSession session,
IdentityProviderModel model)
Creates an
IdentityProvider based on the configuration contained in
model. |
OIDCIdentityProviderConfig |
createConfig()
Creates a provider specific
IdentityProviderModel instance. |
String |
getId() |
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. |
close, create, init, postInitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorderpublic static final String PROVIDER_ID
public String getName()
IdentityProviderFactoryA friendly name for this factory.
public KeycloakOIDCIdentityProvider create(KeycloakSession session, IdentityProviderModel model)
IdentityProviderFactoryCreates an IdentityProvider based on the configuration contained in
model.
model - The configuration to be used to create the identity provider.public String getId()
public Map<String,String> parseConfig(KeycloakSession session, InputStream inputStream)
IdentityProviderFactoryCreates an IdentityProvider based on the configuration from
inputStream.
parseConfig in interface IdentityProviderFactory<KeycloakOIDCIdentityProvider>parseConfig in class AbstractIdentityProviderFactory<KeycloakOIDCIdentityProvider>inputStream - The input stream from where configuration will be loaded from..public OIDCIdentityProviderConfig createConfig()
IdentityProviderFactoryCreates 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.