Module Values_1.ClientCredentialsGrantMetadataSource

Configuration for OAuth 2.0 client credentials grant authentication, including client ID, client secret, token endpoint, and optional scopes.

Sourcetype nonrec t = {
  1. baseEndpoint : Values_0.Endpoint.t;
    (*

    The base endpoint URL for the external service.

    *)
  2. clientCredentialsSource : Values_0.ClientCredentialsSource.t option;
    (*

    The source of the client credentials configuration.

    *)
  3. clientCredentialsDetails : ClientCredentialsDetails.t option;
    (*

    The detailed client credentials configuration including client ID, client secret, and token endpoint.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientCredentialsSource:??? -> ?clientCredentialsDetails:??? -> baseEndpoint:Values_0.Endpoint.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Values_0.Endpoint.t | `Structure of (string * [> `Structure of (string * [> `String of Values_0.ClientId.t ]) list ]) 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