Module Values.OAuth2DefaultsSource

Contains the default values required for OAuth 2.0 authentication.

Sourcetype nonrec t = {
  1. oauthScopes : OAuthScopeList.t option;
    (*

    OAuth 2.0 scopes that the connector supports.

    *)
  2. tokenUrls : TokenUrlList.t option;
    (*

    Token URLs that can be used for OAuth 2.0 authentication.

    *)
  3. authCodeUrls : AuthCodeUrlList.t option;
    (*

    Auth code URLs that can be used for OAuth 2.0 authentication.

    *)
  4. oauth2GrantTypesSupported : OAuth2GrantTypeSupportedList.t option;
    (*

    OAuth 2.0 grant types supported by the connector.

    *)
  5. oauth2CustomProperties : OAuth2CustomPropertiesList.t option;
    (*

    List of custom parameters required for OAuth 2.0 authentication.

    *)
}
Sourceval make : ?oauthScopes:??? -> ?tokenUrls:??? -> ?authCodeUrls:??? -> ?oauth2GrantTypesSupported:??? -> ?oauth2CustomProperties:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Enum of string | `String of OAuthScope.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `String of ConnectorSuppliedValue.t ] list | `String of Key.t ]) list ] 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