Module Values.ExchangeCodeForTokenRequestBodySource

Describes the configuration of a request to exchange an access code for a token.

Sourcetype nonrec t = {
  1. code : SensitiveString.t;
    (*

    The access code to send in the request.

    *)
  2. redirectUri : String_.t;
    (*

    The location of the application that will receive the access code.

    *)
  3. clientId : SensitiveString.t option;
    (*

    The ID of the client to request the token from.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientId:??? -> code:SensitiveString.t -> redirectUri:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of SensitiveString.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