Package org.keycloak.broker.oid4vp
Class OID4VPIdentityProviderFactory
java.lang.Object
org.keycloak.broker.provider.AbstractIdentityProviderFactory<OID4VPIdentityProvider>
org.keycloak.broker.oid4vp.OID4VPIdentityProviderFactory
- All Implemented Interfaces:
IdentityProviderFactory<OID4VPIdentityProvider>,ConfiguredProvider,EnvironmentDependentProviderFactory,ProviderFactory<OID4VPIdentityProvider>
public class OID4VPIdentityProviderFactory
extends AbstractIdentityProviderFactory<OID4VPIdentityProvider>
implements EnvironmentDependentProviderFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(KeycloakSession session, IdentityProviderModel model) Creates anIdentityProviderbased on the configuration contained inmodel.Creates a provider specificIdentityProviderModelinstance.Returns the metadata for each configuration property supported by this factory.getId()getName()A friendly name for this factory.voidinit(Config.Scope config) Only called once when the factory is first created.booleanisSupported(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.Methods inherited from class org.keycloak.broker.provider.AbstractIdentityProviderFactory
close, create, parseConfig, postInitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfigMethods inherited from interface org.keycloak.broker.provider.IdentityProviderFactory
getHelpTextMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
FORBIDDEN_WALLET_SCHEMES_OPTION
- See Also:
-
-
Constructor Details
-
OID4VPIdentityProviderFactory
public OID4VPIdentityProviderFactory()
-
-
Method Details
-
getName
Description copied from interface:IdentityProviderFactoryA friendly name for this factory.
- Specified by:
getNamein interfaceIdentityProviderFactory<OID4VPIdentityProvider>- Returns:
-
create
Description copied from interface:IdentityProviderFactoryCreates an
IdentityProviderbased on the configuration contained inmodel.- Specified by:
createin interfaceIdentityProviderFactory<OID4VPIdentityProvider>model- The configuration to be used to create the identity provider.- Returns:
-
createConfig
Description copied from interface:IdentityProviderFactoryCreates a provider specific
IdentityProviderModelinstance.Providers may want to implement their own
IdentityProviderModeltype so that validations can be performed when managing the provider configuration- Specified by:
createConfigin interfaceIdentityProviderFactory<OID4VPIdentityProvider>- Returns:
- the provider specific instance
-
getId
- Specified by:
getIdin interfaceProviderFactory<OID4VPIdentityProvider>
-
getConfigProperties
- Specified by:
getConfigPropertiesin interfaceConfiguredProvider- Specified by:
getConfigPropertiesin interfaceIdentityProviderFactory<OID4VPIdentityProvider>
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactoryCheck if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Parameters:
config- the provider configuration- Returns:
trueif the provider is supported. Otherwise,false.
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory<OID4VPIdentityProvider>- Overrides:
initin classAbstractIdentityProviderFactory<OID4VPIdentityProvider>
-
getConfigMetadata
Description copied from interface:ProviderFactoryReturns the metadata for each configuration property supported by this factory.- Specified by:
getConfigMetadatain interfaceProviderFactory<OID4VPIdentityProvider>- Returns:
- a list with the metadata for each configuration property supported by this factory
-