Values.MCPServerOAuth3LOConfigSourceOAuth 3-legged authorization configuration for MCP server.
type nonrec t = {clientName : MCPServerOAuth3LOConfigClientNameString.t option;User friendly OAuth client name specified by end user.
*)clientId : ClientId.t;OAuth client ID for authenticating with the service.
*)exchangeParameters : ExchangeParameters.t option;OAuth token exchange parameters for authenticating with the service.
*)returnToEndpoint : MCPServerOAuth3LOConfigReturnToEndpointString.t;The endpoint to return to after OAuth flow completes (must be AWS console domain)
*)exchangeUrl : MCPServerOAuth3LOConfigExchangeUrlString.t;OAuth token exchange URL.
*)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.
*)supportCodeChallenge : Boolean.t option;Whether the service supports PKCE (Proof Key for Code Exchange) for enhanced security during the OAuth flow.
*)scopes : Scopes.t option;OAuth scopes for 3LO authentication. The service will always request scope offline_access.
*)}val make :
?clientName:??? ->
?exchangeParameters:??? ->
?clientSecret:??? ->
?supportCodeChallenge:??? ->
?scopes:??? ->
clientId:ClientId.t ->
returnToEndpoint:MCPServerOAuth3LOConfigReturnToEndpointString.t ->
authorizationUrl:MCPServerOAuth3LOConfigAuthorizationUrlString.t ->
exchangeUrl:MCPServerOAuth3LOConfigExchangeUrlString.t ->
unit ->
tval 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 ]