Module Values.ChallengePreferenceSource

An ordered list of preferred challenge type and versions.

Sourcetype nonrec t = {
  1. type_ : ChallengeType.t;
    (*

    The types of challenges that have been selected for the Face Liveness session.

    *)
  2. versions : Versions.t option;
    (*

    The version of the challenges that have been selected for the Face Liveness session.

    *)
}
Sourceval context_ : string
Sourceval make : ?versions:??? -> type_:ChallengeType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of Version.t ]) list ]) 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