Class 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 Detail

      • TokenCreateBatchResponse

        public TokenCreateBatchResponse()
    • Method Detail

      • getRequestId

        public String getRequestId()
        Get the request ID.
        Returns:
        The request ID.
      • getNotificationToken

        public String getNotificationToken()
        Get the notification token. This token will be contained in the Authorization header of the batch notification sent by the /auth/token/create/batch API to the batch notification endpoint (the value returned by getTokenBatchNotificationEndpoint() of the service) using HTTP POST 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 the Authorization header of the batch notification sent by the /auth/token/create/batch API to the batch notification endpoint (the value returned by getTokenBatchNotificationEndpoint() of the service) using HTTP POST 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.