Class JWTVCIssuerWellKnownProviderFactory
java.lang.Object
org.keycloak.protocol.oid4vc.issuance.JWTVCIssuerWellKnownProviderFactory
- All Implemented Interfaces:
OID4VCEnvironmentProviderFactory,EnvironmentDependentProviderFactory,ProviderFactory<WellKnownProvider>,WellKnownProviderFactory
public class JWTVCIssuerWellKnownProviderFactory
extends Object
implements WellKnownProviderFactory, OID4VCEnvironmentProviderFactory
WellKnownProviderFactory implementation for JWT VC Issuer metadata at endpoint /.well-known/jwt-vc-issuer
- Author:
- Francis Pouatcha
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()create(KeycloakSession session) getId()voidinit(Config.Scope config) booleanControls if theWellKnownProvideris available via server metadata endpoint.voidpostInit(KeycloakSessionFactory factory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.protocol.oid4vc.OID4VCEnvironmentProviderFactory
isSupportedMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, orderMethods inherited from interface org.keycloak.wellknown.WellKnownProviderFactory
getAlias, getPriority
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
JWTVCIssuerWellKnownProviderFactory
public JWTVCIssuerWellKnownProviderFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<WellKnownProvider>
-
init
- Specified by:
initin interfaceProviderFactory<WellKnownProvider>
-
postInit
- Specified by:
postInitin interfaceProviderFactory<WellKnownProvider>
-
close
public void close()- Specified by:
closein interfaceProviderFactory<WellKnownProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<WellKnownProvider>
-
isAvailableViaServerMetadata
public boolean isAvailableViaServerMetadata()Description copied from interface:WellKnownProviderFactoryControls if theWellKnownProvideris available via server metadata endpoint. If this method returns true, then the provider will be available under/.well-known/{alias}/realms/{realm}, where{alias}is the well-known alias returned byWellKnownProviderFactory.getAlias(). Default implementation returns false.- Specified by:
isAvailableViaServerMetadatain interfaceWellKnownProviderFactory- Returns:
- true if this provider may be exposed via ServerMetadataResource
-