Module Values_1.ClientCredentialsPropertiesSource

OAuth2 client credentials configuration that defines the properties needed for the Client Credentials grant type flow.

Sourcetype nonrec t = {
  1. tokenUrl : Values_0.ConnectorProperty.t option;
    (*

    The token endpoint URL where the client will request access tokens using client credentials.

    *)
  2. requestMethod : HTTPMethod.t option;
    (*

    The HTTP method to use when making token requests, typically POST.

    *)
  3. contentType : ContentType.t option;
    (*

    The content type to use for token requests, such as application/x-www-form-urlencoded or application/json.

    *)
  4. clientId : Values_0.ConnectorProperty.t option;
    (*

    The OAuth2 client identifier provided by the authorization server.

    *)
  5. clientSecret : Values_0.ConnectorProperty.t option;
    (*

    The OAuth2 client secret provided by the authorization server.

    *)
  6. scope : Values_0.ConnectorProperty.t option;
    (*

    The OAuth2 scope that defines the level of access requested for the client credentials flow.

    *)
  7. tokenUrlParameters : ConnectorPropertyList.t option;
    (*

    Additional parameters to include in token URL requests as key-value pairs.

    *)
}
Sourceval make : ?tokenUrl:??? -> ?requestMethod:??? -> ?contentType:??? -> ?clientId:??? -> ?clientSecret:??? -> ?scope:??? -> ?tokenUrlParameters:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `String of string ] list | `String of string ]) list ] list | `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `String of string ] list | `String of string ]) 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