Module Values.ExchangeCodeForTokenRequestSource

This is for internal use. Amplify uses this action to exchange an access code for a token.

Sourcetype nonrec t = {
  1. provider : TokenProviders.t;
    (*

    The third-party provider for the token. The only valid value is figma.

    *)
  2. request : ExchangeCodeForTokenRequestBody.t;
    (*

    Describes the configuration of the request.

    *)
}
Sourceval context_ : string
Sourceval make : provider:TokenProviders.t -> request:ExchangeCodeForTokenRequestBody.t -> unit -> t
Sourceval of_header_and_body : ((string, string) Awso.Import.List.Assoc.t * ExchangeCodeForTokenRequestBody.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of SensitiveString.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