Module Values.ChallengeResponseSource

The result from the inspection of the web request for a valid challenge token.

Sourcetype nonrec t = {
  1. responseCode : ResponseCode.t option;
    (*

    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.

    *)
  2. solveTimestamp : SolveTimestamp.t option;
    (*

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

    *)
  3. failureReason : FailureReason.t option;
    (*

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

    *)
}
Sourceval make : ?responseCode:??? -> ?solveTimestamp:??? -> ?failureReason:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of ResponseCode.t | `Long of SolveTimestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t