Module Values_0.OAuth2PropertiesSource

A structure containing properties for OAuth2 authentication.

Sourcetype nonrec t = {
  1. oAuth2GrantType : OAuth2GrantType.t option;
    (*

    The OAuth2 grant type. For example, AUTHORIZATION_CODE, JWT_BEARER, or CLIENT_CREDENTIALS.

    *)
  2. oAuth2ClientApplication : OAuth2ClientApplication.t option;
    (*

    The client application type. For example, AWS_MANAGED or USER_MANAGED.

    *)
  3. tokenUrl : TokenUrl.t option;
    (*

    The URL of the provider's authentication server, to exchange an authorization code for an access token.

    *)
  4. tokenUrlParametersMap : TokenUrlParametersMap.t option;
    (*

    A map of parameters that are added to the token GET request.

    *)
}
Sourceval make : ?oAuth2GrantType:??? -> ?oAuth2ClientApplication:??? -> ?tokenUrl:??? -> ?tokenUrlParametersMap:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TokenUrlParameterKey.t ] * [> `String of TokenUrlParameterValue.t ]) list | `String of TokenUrl.t | `Structure of (string * [> `String of UserManagedClientApplicationClientId.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