Class CredentialDeferredParseRequest

  • All Implemented Interfaces:
    Serializable

    public class CredentialDeferredParseRequest
    extends Object
    implements Serializable
    A request to Authlete's /vci/deferred/issue API.

    The Authlete API is supposed to be called by the implementation of the deferred credential endpoint. The endpoint is defined in the "OpenID for Verifiable Credential Issuance" (OID4VCI) specification.

    The implementation of the deferred credential endpoint is expected to call the following Authlete APIs in the order.

    1. /auth/introspection
    2. /vci/deferred/parse
    3. /vci/deferred/issue

    The role of the /vci/deferred/issue API is to issue a credential.

    Since:
    3.69, Authlete 3.0
    See Also:
    OpenID for Verifiable Credential Issuance, Serialized Form
    • Constructor Detail

      • CredentialDeferredParseRequest

        public CredentialDeferredParseRequest()
    • Method Detail

      • getAccessToken

        public String getAccessToken()
        Get the access token that came along with the deferred credential request.
        Returns:
        The access token that the deferred credential endpoint received.
      • setAccessToken

        public CredentialDeferredParseRequest setAccessToken​(String accessToken)
        Set the access token that came along with the deferred credential request.
        Parameters:
        accessToken - The access token that the deferred credential endpoint received.
        Returns:
        this object.
      • getRequestContent

        public String getRequestContent()
        Get the message body of the deferred credential request. The expected format is JSON Object that contains the "transaction_id" parameter.
        Returns:
        The message body of the deferred credential request.
      • setRequestContent

        public CredentialDeferredParseRequest setRequestContent​(String requestContent)
        Set the message body of the deferred credential request. The expected format is JSON Object that contains the "transaction_id" parameter.
        Parameters:
        requestContent - The message body of the deferred credential request.
        Returns:
        this object.