Module Values.OAuthPropertiesSource

The OAuth properties required for OAuth type authentication.

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

    The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.

    *)
  2. authCodeUrl : AuthCodeUrl.t;
    (*

    The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.

    *)
  3. oAuthScopes : OAuthScopeList.t;
    (*

    The OAuth scopes required for OAuth type authentication.

    *)
}
Sourceval context_ : string
Sourceval make : tokenUrl:TokenUrl.t -> authCodeUrl:AuthCodeUrl.t -> oAuthScopes:OAuthScopeList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of OAuthScope.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