Skip to content

ChallengeResponse

Source code in docs_src/capo_wafv2/types/challenge_response.py
class ChallengeResponse(TypedDict, closed=True):
    response_code: NotRequired["capo_wafv2.types.response_code.ResponseCode"]
    """<p>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 <code>202 Request Accepted</code>.</p>"""
    solve_timestamp: NotRequired["capo_wafv2.types.solve_timestamp.SolveTimestamp"]
    """<p>The time that the challenge was last solved for the supplied token. </p>"""
    failure_reason: NotRequired["capo_wafv2.types.failure_reason.FailureReason"]
    """<p>The reason for failure, populated when the evaluation of the token fails.</p>"""

failure_reason instance-attribute

failure_reason: NotRequired[FailureReason]

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

response_code instance-attribute

response_code: NotRequired[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.

solve_timestamp instance-attribute

solve_timestamp: NotRequired[SolveTimestamp]

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