Module Values_1.ClientCredentialsGrantDetailsSource

Configuration details for OAuth2 client credentials grant flow, including client ID, client secret, token endpoint, and optional scopes.

Sourcetype nonrec t = {
  1. clientId : Values_0.ClientId.t;
    (*

    The client identifier issued to the client during the registration process with the authorization server.

    *)
  2. clientSecret : ClientSecret.t;
    (*

    The client secret issued to the client during the registration process with the authorization server.

    *)
  3. tokenEndpoint : Values_0.Endpoint.t;
    (*

    The authorization server endpoint used to obtain access tokens via the client credentials grant flow.

    *)
}
Sourceval context_ : string
Sourceval make : clientId:Values_0.ClientId.t -> clientSecret:ClientSecret.t -> tokenEndpoint:Values_0.Endpoint.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.ClientId.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