Module Values_0.OAuth2CredentialsSource

The credentials used when the authentication type is OAuth2 authentication.

Sourcetype nonrec t = {
  1. userManagedClientApplicationClientSecret : UserManagedClientApplicationClientSecret.t option;
    (*

    The client application client secret if the client application is user managed.

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

    The access token used when the authentication type is OAuth2.

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

    The refresh token used when the authentication type is OAuth2.

    *)
  4. jwtToken : JwtToken.t option;
    (*

    The JSON Web Token (JWT) used when the authentication type is OAuth2.

    *)
}
Sourceval make : ?userManagedClientApplicationClientSecret:??? -> ?accessToken:??? -> ?refreshToken:??? -> ?jwtToken:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of UserManagedClientApplicationClientSecret.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