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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static StringgetCredentialsEndpoint(KeycloakContext context) Return the credentials endpoint addressstatic StringgetIssuer(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:
getConfigin 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
-