Interface ChallengeResponse.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ChallengeResponse.Builder,ChallengeResponse>, SdkBuilder<ChallengeResponse.Builder,ChallengeResponse>, SdkPojo
Enclosing class:
ChallengeResponse

public static interface ChallengeResponse.Builder extends SdkPojo, CopyableBuilder<ChallengeResponse.Builder,ChallengeResponse>
  • Method Details

    • responseCode

      ChallengeResponse.Builder responseCode(Integer responseCode)

      The HTTP response code indicating the status of the challenge token in the web request. If the token is missing, invalid, or expired, this code is 202 Request Accepted.

      Parameters:
      responseCode - The HTTP response code indicating the status of the challenge token in the web request. If the token is missing, invalid, or expired, this code is 202 Request Accepted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • solveTimestamp

      ChallengeResponse.Builder solveTimestamp(Long solveTimestamp)

      The time that the challenge was last solved for the supplied token.

      Parameters:
      solveTimestamp - The time that the challenge was last solved for the supplied token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      ChallengeResponse.Builder failureReason(String failureReason)

      The reason for failure, populated when the evaluation of the token fails.

      Parameters:
      failureReason - The reason for failure, populated when the evaluation of the token fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReason

      ChallengeResponse.Builder failureReason(FailureReason failureReason)

      The reason for failure, populated when the evaluation of the token fails.

      Parameters:
      failureReason - The reason for failure, populated when the evaluation of the token fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: