Module Values.ConnectorOAuthRequestSource

Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.

Sourcetype nonrec t = {
  1. authCode : AuthCode.t option;
    (*

    The code provided by the connector when it has been authenticated via the connected app.

    *)
  2. redirectUri : RedirectUri.t option;
    (*

    The URL to which the authentication server redirects the browser after authorization has been granted.

    *)
}
Sourceval make : ?authCode:??? -> ?redirectUri:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AuthCode.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