Module Values.OAuth2PropertiesSource

The OAuth 2.0 properties required for OAuth 2.0 authentication.

Sourcetype nonrec t = {
  1. tokenUrl : TokenUrl.t;
    (*

    The token URL required for OAuth 2.0 authentication.

    *)
  2. oAuth2GrantType : OAuth2GrantType.t;
    (*

    The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.

    *)
  3. tokenUrlCustomProperties : TokenUrlCustomProperties.t option;
    (*

    Associates your token URL with a map of properties that you define. Use this parameter to provide any additional details that the connector requires to authenticate your request.

    *)
}
Sourceval context_ : string
Sourceval make : ?tokenUrlCustomProperties:??? -> tokenUrl:TokenUrl.t -> oAuth2GrantType:OAuth2GrantType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of CustomPropertyKey.t ] * [> `String of CustomPropertyValue.t ]) list | `String of TokenUrl.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