Package org.keycloak.protocol.oid4vc
Class OID4VCClientRegistrationProviderFactory
java.lang.Object
org.keycloak.protocol.oid4vc.OID4VCClientRegistrationProviderFactory
- All Implemented Interfaces:
OID4VCEnvironmentProviderFactory
,EnvironmentDependentProviderFactory
,ProviderFactory<ClientRegistrationProvider>
,ClientRegistrationProviderFactory
public class OID4VCClientRegistrationProviderFactory
extends Object
implements ClientRegistrationProviderFactory, OID4VCEnvironmentProviderFactory
Implementation of the
ClientRegistrationProviderFactory
to integrate the OID4VC protocols with
Keycloak's client-registration.
- Author:
- Stefan Wiedemann
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
This is called when the server shuts down.create
(KeycloakSession session) Returns the metadata for each configuration property supported by this factory.getId()
void
init
(Config.Scope config) Only called once when the factory is first created.void
postInit
(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.protocol.oid4vc.OID4VCEnvironmentProviderFactory
isSupported
Methods inherited from interface org.keycloak.provider.ProviderFactory
order
-
Constructor Details
-
OID4VCClientRegistrationProviderFactory
public OID4VCClientRegistrationProviderFactory()
-
-
Method Details
-
create
- Specified by:
create
in interfaceProviderFactory<ClientRegistrationProvider>
-
init
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory<ClientRegistrationProvider>
-
postInit
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory<ClientRegistrationProvider>
-
close
public void close()Description copied from interface:ProviderFactory
This is called when the server shuts down.- Specified by:
close
in interfaceProviderFactory<ClientRegistrationProvider>
-
getId
- Specified by:
getId
in interfaceProviderFactory<ClientRegistrationProvider>
-
getConfigMetadata
Description copied from interface:ProviderFactory
Returns the metadata for each configuration property supported by this factory.- Specified by:
getConfigMetadata
in interfaceProviderFactory<ClientRegistrationProvider>
- Returns:
- a list with the metadata for each configuration property supported by this factory
-