Package org.keycloak.social.openshift
Class OpenshiftV3IdentityProviderFactory
- java.lang.Object
-
- org.keycloak.broker.provider.AbstractIdentityProviderFactory<OpenshiftV3IdentityProvider>
-
- org.keycloak.social.openshift.OpenshiftV3IdentityProviderFactory
-
- All Implemented Interfaces:
IdentityProviderFactory<OpenshiftV3IdentityProvider>
,SocialIdentityProviderFactory<OpenshiftV3IdentityProvider>
,ProviderFactory<OpenshiftV3IdentityProvider>
public class OpenshiftV3IdentityProviderFactory extends AbstractIdentityProviderFactory<OpenshiftV3IdentityProvider> implements SocialIdentityProviderFactory<OpenshiftV3IdentityProvider>
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROVIDER_ID
-
Constructor Summary
Constructors Constructor Description OpenshiftV3IdentityProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenshiftV3IdentityProvider
create(KeycloakSession keycloakSession, IdentityProviderModel identityProviderModel)
Creates anIdentityProvider
based on the configuration contained inmodel
.OpenshiftV3IdentityProviderConfig
createConfig()
Creates a provider specificIdentityProviderModel
instance.String
getId()
String
getName()
A friendly name for this factory.-
Methods inherited from class org.keycloak.broker.provider.AbstractIdentityProviderFactory
close, create, init, parseConfig, postInit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.broker.provider.IdentityProviderFactory
parseConfig
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
close, create, getConfigMetadata, init, order, postInit
-
-
-
-
Field Detail
-
PROVIDER_ID
public static final String PROVIDER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:IdentityProviderFactory
A friendly name for this factory.
- Specified by:
getName
in interfaceIdentityProviderFactory<OpenshiftV3IdentityProvider>
- Returns:
-
create
public OpenshiftV3IdentityProvider create(KeycloakSession keycloakSession, IdentityProviderModel identityProviderModel)
Description copied from interface:IdentityProviderFactory
Creates an
IdentityProvider
based on the configuration contained inmodel
.- Specified by:
create
in interfaceIdentityProviderFactory<OpenshiftV3IdentityProvider>
identityProviderModel
- The configuration to be used to create the identity provider.- Returns:
-
createConfig
public OpenshiftV3IdentityProviderConfig createConfig()
Description copied from interface:IdentityProviderFactory
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- Specified by:
createConfig
in interfaceIdentityProviderFactory<OpenshiftV3IdentityProvider>
- Returns:
- the provider specific instance
-
getId
public String getId()
- Specified by:
getId
in interfaceProviderFactory<OpenshiftV3IdentityProvider>
-
-