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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static List<SupportedCredentialConfiguration>fromRealmAttributes(Map<String, String> realmAttributes) 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.getSupportedFormats(KeycloakSession keycloakSession) Returns credential formats supported.
-
Field Details
-
VC_KEY
- See Also:
-
-
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 configuredCredentialBuilder'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 -
fromRealmAttributes
public static List<SupportedCredentialConfiguration> fromRealmAttributes(Map<String, String> realmAttributes) -
getSupportedFormats
Returns credential formats supported. Supported credential formats are identified on the criterion of a joint availability of a credential builder (as a configured component) AND a credential signer. -
getSupportedSignatureAlgorithms
-