Class OID4VCIssuerWellKnownProvider
java.lang.Object
org.keycloak.protocol.oid4vc.issuance.OID4VCIssuerWellKnownProvider
- All Implemented Interfaces:
Provider
,WellKnownProvider
WellKnownProvider
implementation to provide the .well-known/openid-credential-issuer endpoint, offering
the Credential Issuer Metadata as defined by the OID4VCI protocol
- Author:
- Stefan Wiedemann
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static String
getCredentialsEndpoint
(KeycloakContext context) Return the credentials endpoint addressstatic String
getIssuer
(KeycloakContext context) Return the url of the issuer.getSupportedCredentials
(KeycloakSession keycloakSession) Return the supported credentials from the current session.
-
Constructor Details
-
OID4VCIssuerWellKnownProvider
-
-
Method Details
-
close
public void close() -
getConfig
- Specified by:
getConfig
in interfaceWellKnownProvider
-
getSupportedCredentials
public static Map<String,SupportedCredentialConfiguration> getSupportedCredentials(KeycloakSession keycloakSession) Return the supported credentials from the current session. It will take into account the configuredVerifiableCredentialsSigningService
's and there supported format and the credentials supported by the clients available in the session. -
getIssuer
Return the url of the issuer. -
getCredentialsEndpoint
Return the credentials endpoint address
-