Package com.authlete.common.dto
Class CredentialDeferredParseRequest
- java.lang.Object
-
- com.authlete.common.dto.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.
/auth/introspection
/vci/deferred/parse
/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 Summary
Constructors Constructor Description CredentialDeferredParseRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccessToken()
Get the access token that came along with the deferred credential request.String
getRequestContent()
Get the message body of the deferred credential request.CredentialDeferredParseRequest
setAccessToken(String accessToken)
Set the access token that came along with the deferred credential request.CredentialDeferredParseRequest
setRequestContent(String requestContent)
Set the message body of the deferred credential request.
-
-
-
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.
-
-