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 TypeMethodDescriptionvoid
close()
static String
getCredentialsEndpoint
(KeycloakContext context) Return the credentials endpoint addressstatic String
getIssuer
(KeycloakContext context) Return the url of the issuer.static String
getNonceEndpoint
(KeycloakContext context) Return the nonce endpoint addressgetSupportedCredentials
(KeycloakSession keycloakSession) Return the supported credentials from the current session.toSupportedCredentialConfiguration
(KeycloakSession keycloakSession, CredentialScopeModel credentialModel)
-
Field Details
-
VC_KEY
- See Also:
-
keycloakSession
-
-
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 configuredCredentialBuilder
's and there supported format and the credentials supported by the clients available in the session. -
toSupportedCredentialConfiguration
public static SupportedCredentialConfiguration toSupportedCredentialConfiguration(KeycloakSession keycloakSession, CredentialScopeModel credentialModel) -
getIssuer
Return the url of the issuer. -
getNonceEndpoint
Return the nonce endpoint address -
getCredentialsEndpoint
Return the credentials endpoint address -
getSupportedSignatureAlgorithms
-