Class OID4VCAuthorizationDetailsProcessor

java.lang.Object
org.keycloak.protocol.oid4vc.issuance.OID4VCAuthorizationDetailsProcessor
All Implemented Interfaces:
AuthorizationDetailsProcessor, Provider

public class OID4VCAuthorizationDetailsProcessor extends Object implements AuthorizationDetailsProcessor
  • Field Details

  • Constructor Details

    • OID4VCAuthorizationDetailsProcessor

      public OID4VCAuthorizationDetailsProcessor(KeycloakSession session)
  • Method Details

    • process

      public List<AuthorizationDetailsResponse> process(UserSessionModel userSession, ClientSessionContext clientSessionCtx, String authorizationDetailsParameter)
      Description copied from interface: AuthorizationDetailsProcessor
      Processes the authorization_details parameter and returns a response if this processor is able to handle the given authorization_details parameter.
      Specified by:
      process in interface AuthorizationDetailsProcessor
      Parameters:
      userSession - the user session
      clientSessionCtx - the client session context
      authorizationDetailsParameter - the raw authorization_details parameter value
      Returns:
      authorization details response if this processor can handle the parameter, null if the parameter is incompatible with this processor
    • handleMissingAuthorizationDetails

      public List<AuthorizationDetailsResponse> handleMissingAuthorizationDetails(UserSessionModel userSession, ClientSessionContext clientSessionCtx)
      Description copied from interface: AuthorizationDetailsProcessor
      Method is invoked in cases when authorization_details parameter is missing in the request. It allows processor to generate authorization details response in such a case
      Specified by:
      handleMissingAuthorizationDetails in interface AuthorizationDetailsProcessor
      Parameters:
      userSession - the user session
      clientSessionCtx - the client session context
      Returns:
      authorization details response if this processor can handle current request in case that authorization_details parameter was not provided
    • close

      public void close()
      Specified by:
      close in interface Provider