Package com.authlete.common.dto
Class CredentialBatchIssueRequest
- java.lang.Object
-
- com.authlete.common.dto.CredentialBatchIssueRequest
-
- All Implemented Interfaces:
Serializable
public class CredentialBatchIssueRequest extends Object implements Serializable
A request to Authlete's/vci/batch/issueAPI.The Authlete API is supposed to be called by the implementation of the batch credential endpoint. The endpoint is defined in the "OpenID for Verifiable Credential Issuance" (OID4VCI) specification.
The implementation of the batch credential endpoint is expected to call the following Authlete APIs in the order.
/auth/introspection/vci/batch/parse/vci/batch/issue
The role of the
/vci/batch/issueAPI is to issue credentials and/or transaction IDs and to prepare a response that should be returned from th batch credential endpoint.- Since:
- 3.71, Authlete 3.0
- See Also:
- OpenID for Verifiable Credential Issuance, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CredentialBatchIssueRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessToken()Get the access token that was presented at the batch credential endpoint.CredentialIssuanceOrder[]getOrders()Get the credential orders that provide instructions for issuance of credentials and/or transaction IDs.CredentialBatchIssueRequestsetAccessToken(String accessToken)Set the access token that was presented at the batch credential endpoint.CredentialBatchIssueRequestsetOrders(CredentialIssuanceOrder[] orders)Set the credential orders that provide instructions for issuance of credentials and/or transaction IDs.
-
-
-
Method Detail
-
getAccessToken
public String getAccessToken()
Get the access token that was presented at the batch credential endpoint.- Returns:
- The access token that was presented at the batch credential endpoint.
-
setAccessToken
public CredentialBatchIssueRequest setAccessToken(String accessToken)
Set the access token that was presented at the batch credential endpoint.- Parameters:
accessToken- The access token that was presented at the batch credential endpoint.- Returns:
thisobject.
-
getOrders
public CredentialIssuanceOrder[] getOrders()
Get the credential orders that provide instructions for issuance of credentials and/or transaction IDs.- Returns:
- The instructions for issuance of credentials and/or transaction IDs.
-
setOrders
public CredentialBatchIssueRequest setOrders(CredentialIssuanceOrder[] orders)
Set the credential orders that provide instructions for issuance of credentials and/or transaction IDs.- Parameters:
order- The instructions for issuance of credentials and/or transaction IDs.- Returns:
thisobject.
-
-