Package com.authlete.common.dto
Class CredentialSingleIssueRequest
- java.lang.Object
-
- com.authlete.common.dto.CredentialSingleIssueRequest
-
- All Implemented Interfaces:
Serializable
public class CredentialSingleIssueRequest extends Object implements Serializable
A request to Authlete's/vci/single/issueAPI.The Authlete API is supposed to be called by the implementation of the credential endpoint. The endpoint is defined in the "OpenID for Verifiable Credential Issuance" (OID4VCI) specification.
The implementation of the credential endpoint is expected to call the following Authlete APIs in the order.
/auth/introspection/vci/single/parse/vci/single/issue
The role of the
/vci/single/issueAPI is to issue a credential or a transaction ID and to prepare a response that should be returned from the credential endpoint.- Since:
- 3.67, Authlete 3.0
- See Also:
- OpenID for Verifiable Credential Issuance, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CredentialSingleIssueRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessToken()Get the access token that was presented at the credential endpoint.CredentialIssuanceOrdergetOrder()Get the credential order that provides an instruction for issuing a credential.CredentialSingleIssueRequestsetAccessToken(String accessToken)Set the access token that was presented at the credential endpoint.CredentialSingleIssueRequestsetOrder(CredentialIssuanceOrder order)Set the credential order that provides an instruction for issuing a credential.
-
-
-
Method Detail
-
getAccessToken
public String getAccessToken()
Get the access token that was presented at the credential endpoint.- Returns:
- The access token that was presented at the credential endpoint.
-
setAccessToken
public CredentialSingleIssueRequest setAccessToken(String accessToken)
Set the access token that was presented at the credential endpoint.- Parameters:
accessToken- The access token that was presented at the credential endpoint.- Returns:
thisobject.
-
getOrder
public CredentialIssuanceOrder getOrder()
Get the credential order that provides an instruction for issuing a credential.- Returns:
- The instruction for credential issuance.
-
setOrder
public CredentialSingleIssueRequest setOrder(CredentialIssuanceOrder order)
Set the credential order that provides an instruction for issuing a credential.- Parameters:
order- The instruction for credential issuance.- Returns:
thisobject.
-
-