Module Values.CreateOAuth2TokenRequestSource

Input structure for CreateOAuth2Token operation Contains flattened token operation inputs for both authorization code and refresh token flows. The operation type is determined by the grant_type parameter in the request body.

Sourcetype nonrec t = {
  1. tokenInput : CreateOAuth2TokenRequestBody.t;
    (*

    Flattened token operation inputs The specific operation is determined by grant_type in the request body

    *)
}
Sourceval context_ : string
Sourceval make : tokenInput:CreateOAuth2TokenRequestBody.t -> unit -> t
Sourceval of_header_and_body : ('a * CreateOAuth2TokenRequestBody.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of ClientId.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