Interface CredentialBuilderFactory
- All Superinterfaces:
ComponentFactory<CredentialBuilder,,CredentialBuilder> ConfiguredProvider,EnvironmentDependentProviderFactory,OID4VCEnvironmentProviderFactory,ProviderFactory<CredentialBuilder>
- All Known Implementing Classes:
JwtCredentialBuilderFactory,LDCredentialBuilderFactory,SdJwtCredentialBuilderFactory
public interface CredentialBuilderFactory
extends ComponentFactory<CredentialBuilder,CredentialBuilder>, OID4VCEnvironmentProviderFactory
Provider Factory to create
CredentialBuilder's- Author:
- Ingrid Kamga
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()This is called when the server shuts down.default StringgetId()Returns the credential format supported by the credential builder.default voidinit(Config.Scope config) Only called once when the factory is first created.default voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from interface org.keycloak.component.ComponentFactory
create, create, getCommonProviderConfigProperties, getTypeMetadata, onCreate, onUpdate, preRemove, validateConfigurationMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig, getConfigProperties, getHelpTextMethods inherited from interface org.keycloak.protocol.oid4vc.OID4VCEnvironmentProviderFactory
isSupportedMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Method Details
-
getSupportedFormat
String getSupportedFormat()Returns the credential format supported by the credential builder. -
getId
- Specified by:
getIdin interfaceProviderFactory<CredentialBuilder>
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory<CredentialBuilder>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<CredentialBuilder>
-
close
default void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory<CredentialBuilder>
-