Module Values.MCPServerBearerTokenConfigSource

Bearer token configuration for MCP server (RFC 6750).

Sourcetype nonrec t = {
  1. tokenName : MCPServerBearerTokenConfigTokenNameString.t;
    (*

    User friendly bearer token name specified by end user.

    *)
  2. tokenValue : MCPServerBearerTokenConfigTokenValueString.t;
    (*

    Bearer token value in alphanumeric for authenticating with the service.

    *)
  3. authorizationHeader : MCPServerBearerTokenConfigAuthorizationHeaderString.t option;
    (*

    HTTP header name to send the bearer token in requests to the service. Defaults to 'Authorization' per RFC 6750.

    *)
}
Sourceval context_ : string
Sourceval make : ?authorizationHeader:??? -> tokenName:MCPServerBearerTokenConfigTokenNameString.t -> tokenValue:MCPServerBearerTokenConfigTokenValueString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of MCPServerBearerTokenConfigTokenNameString.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