Class DefaultCredentialOfferStorageFactory
java.lang.Object
org.keycloak.protocol.oid4vc.issuance.credentialoffer.DefaultCredentialOfferStorageFactory
- All Implemented Interfaces:
CredentialOfferStorageFactory,ProviderFactory<CredentialOfferStorage>
public class DefaultCredentialOfferStorageFactory
extends Object
implements CredentialOfferStorageFactory
Factory for
DefaultCredentialOfferStorage.
This factory provides the default cluster-aware implementation of credential offer storage. The storage uses Keycloak's distributed cache infrastructure, making it suitable for clustered and cross-DC deployments.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(KeycloakSession session) getId()voidinit(Config.Scope config) Only called once when the factory is first created.voidpostInit(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, waitMethods inherited from interface org.keycloak.protocol.oid4vc.issuance.credentialoffer.CredentialOfferStorageFactory
closeMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Constructor Details
-
DefaultCredentialOfferStorageFactory
public DefaultCredentialOfferStorageFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<CredentialOfferStorage>
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory<CredentialOfferStorage>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<CredentialOfferStorage>
-
getId
- Specified by:
getIdin interfaceProviderFactory<CredentialOfferStorage>
-