Package com.authlete.common.dto
Class TokenCreateBatchResponse
- java.lang.Object
-
- com.authlete.common.dto.ApiResponse
-
- com.authlete.common.dto.TokenCreateBatchResponse
-
- All Implemented Interfaces:
Serializable
public class TokenCreateBatchResponse extends ApiResponse
Response from Authlete's/auth/token/create/batch
API.- Since:
- 3.96
- Author:
- Hideki Ikeda
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TokenCreateBatchResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNotificationToken()
Get the notification token.String
getRequestId()
Get the request ID.TokenCreateBatchResponse
setNotificationToken(String token)
Set the notification token.TokenCreateBatchResponse
setRequestId(String requestId)
-
Methods inherited from class com.authlete.common.dto.ApiResponse
getResultCode, getResultMessage, setResultCode, setResultMessage
-
-
-
-
Method Detail
-
getRequestId
public String getRequestId()
Get the request ID.- Returns:
- The request ID.
-
setRequestId
public TokenCreateBatchResponse setRequestId(String requestId)
- Parameters:
requestId
- The request ID.- Returns:
- object.
-
getNotificationToken
public String getNotificationToken()
Get the notification token. This token will be contained in theAuthorization
header of the batch notification sent by the/auth/token/create/batch
API to the batch notification endpoint (the value returned bygetTokenBatchNotificationEndpoint()
of theservice
) using HTTPPOST
method when the batch process has succeeded or failed. It may be necessary to validate the incoming data to the notification endpoint against this token value.- Returns:
- The notification token.
-
setNotificationToken
public TokenCreateBatchResponse setNotificationToken(String token)
Set the notification token. This token will be contained in theAuthorization
header of the batch notification sent by the/auth/token/create/batch
API to the batch notification endpoint (the value returned bygetTokenBatchNotificationEndpoint()
of theservice
) using HTTPPOST
method when the batch process has succeeded or failed. It may be necessary to validate the incoming data to the notification endpoint against this token value.- Parameters:
token
- The notificationToken.- Returns:
- object.
-
-