Module Values.MCPServerOAuth3LOConfigSource

OAuth 3-legged authorization configuration for MCP server.

Sourcetype nonrec t = {
  1. clientName : MCPServerOAuth3LOConfigClientNameString.t option;
    (*

    User friendly OAuth client name specified by end user.

    *)
  2. clientId : ClientId.t;
    (*

    OAuth client ID for authenticating with the service.

    *)
  3. exchangeParameters : ExchangeParameters.t option;
    (*

    OAuth token exchange parameters for authenticating with the service.

    *)
  4. returnToEndpoint : MCPServerOAuth3LOConfigReturnToEndpointString.t;
    (*

    The endpoint to return to after OAuth flow completes (must be AWS console domain)

    *)
  5. authorizationUrl : MCPServerOAuth3LOConfigAuthorizationUrlString.t;
    (*

    OAuth authorization URL for 3LO authentication.

    *)
  6. exchangeUrl : MCPServerOAuth3LOConfigExchangeUrlString.t;
    (*

    OAuth token exchange URL.

    *)
  7. clientSecret : ClientSecret.t option;
    (*

    OAuth client secret for authenticating with the service. Required for confidential clients or when PKCE is not supported. Optional for public clients using PKCE.

    *)
  8. supportCodeChallenge : Boolean.t option;
    (*

    Whether the service supports PKCE (Proof Key for Code Exchange) for enhanced security during the OAuth flow.

    *)
  9. scopes : Scopes.t option;
    (*

    OAuth scopes for 3LO authentication. The service will always request scope offline_access.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientName:??? -> ?exchangeParameters:??? -> ?clientSecret:??? -> ?supportCodeChallenge:??? -> ?scopes:??? -> clientId:ClientId.t -> returnToEndpoint:MCPServerOAuth3LOConfigReturnToEndpointString.t -> authorizationUrl:MCPServerOAuth3LOConfigAuthorizationUrlString.t -> exchangeUrl:MCPServerOAuth3LOConfigExchangeUrlString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of String_.t ] list | `Map of ([> `String of String_.t ] * [> `String of ExchangeParameterValue.t ]) list | `String of MCPServerOAuth3LOConfigClientNameString.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