public class OIDCIdentityProviderFactory extends AbstractIdentityProviderFactory<OIDCIdentityProvider>
| Modifier and Type | Field and Description |
|---|---|
static String |
PROVIDER_ID |
| Constructor and Description |
|---|
OIDCIdentityProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
OIDCIdentityProvider |
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. |
protected static Map<String,String> |
parseOIDCConfig(KeycloakSession session,
InputStream 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 OIDCIdentityProvider 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 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
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<OIDCIdentityProvider>parseConfig in class AbstractIdentityProviderFactory<OIDCIdentityProvider>inputStream - The input stream from where configuration will be loaded from..protected static Map<String,String> parseOIDCConfig(KeycloakSession session, InputStream inputStream)
Copyright © 2021 JBoss by Red Hat. All rights reserved.