Class AccountVerifiableCredentialResource

java.lang.Object
org.keycloak.services.resources.account.AccountVerifiableCredentialResource

public class AccountVerifiableCredentialResource extends Object
  • Constructor Details

  • Method Details

    • getCredentials

      @GET @Path("/") @Produces("application/json") public jakarta.ws.rs.core.Response getCredentials()
      Get list of verifiable credentials for the authenticated user
      Returns:
      list of user's verifiable credentials
    • revokeCredential

      @DELETE @Path("/{credentialScopeName}") public jakarta.ws.rs.core.Response revokeCredential(@PathParam("credentialScopeName") String credentialScopeName)
      Revoke a specific verifiable credential for the authenticated user
      Parameters:
      credentialScopeName - the credential scope name to revoke
      Returns:
      204 No Content on success