Module Values.OAuth2CredentialsSource

The OAuth 2.0 credentials required for OAuth 2.0 authentication.

Sourcetype nonrec t = {
  1. clientId : ClientId.t option;
    (*

    The identifier for the desired client.

    *)
  2. clientSecret : ClientSecret.t option;
    (*

    The client secret used by the OAuth client to authenticate to the authorization server.

    *)
  3. accessToken : AccessToken.t option;
    (*

    The access token used to access the connector on your behalf.

    *)
  4. refreshToken : RefreshToken.t option;
    (*

    The refresh token used to refresh an expired access token.

    *)
  5. oAuthRequest : ConnectorOAuthRequest.t option;
}
Sourceval make : ?clientId:??? -> ?clientSecret:??? -> ?accessToken:??? -> ?refreshToken:??? -> ?oAuthRequest:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ClientId.t | `Structure of (string * [> `String of AuthCode.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