Interface MCPServerOAuth3LOConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MCPServerOAuth3LOConfig.Builder,,MCPServerOAuth3LOConfig> SdkBuilder<MCPServerOAuth3LOConfig.Builder,,MCPServerOAuth3LOConfig> SdkPojo
- Enclosing class:
MCPServerOAuth3LOConfig
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationUrl(String authorizationUrl) OAuth authorization URL for 3LO authentication.OAuth client ID for authenticating with the service.clientName(String clientName) User friendly OAuth client name specified by end user.clientSecret(String clientSecret) OAuth client secret for authenticating with the service.exchangeParameters(Map<String, String> exchangeParameters) OAuth token exchange parameters for authenticating with the service.exchangeUrl(String exchangeUrl) OAuth token exchange URL.returnToEndpoint(String returnToEndpoint) The endpoint to return to after OAuth flow completes (must be AWS console domain)OAuth scopes for 3LO authentication.scopes(Collection<String> scopes) OAuth scopes for 3LO authentication.supportCodeChallenge(Boolean supportCodeChallenge) Whether the service supports PKCE (Proof Key for Code Exchange) for enhanced security during the OAuth flow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientName
User friendly OAuth client name specified by end user.
- Parameters:
clientName- User friendly OAuth client name specified by end user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
OAuth client ID for authenticating with the service.
- Parameters:
clientId- OAuth client ID for authenticating with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exchangeParameters
OAuth token exchange parameters for authenticating with the service.
- Parameters:
exchangeParameters- OAuth token exchange parameters for authenticating with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnToEndpoint
The endpoint to return to after OAuth flow completes (must be AWS console domain)
- Parameters:
returnToEndpoint- The endpoint to return to after OAuth flow completes (must be AWS console domain)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationUrl
OAuth authorization URL for 3LO authentication.
- Parameters:
authorizationUrl- OAuth authorization URL for 3LO authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exchangeUrl
OAuth token exchange URL.
- Parameters:
exchangeUrl- OAuth token exchange URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
OAuth client secret for authenticating with the service. Required for confidential clients or when PKCE is not supported. Optional for public clients using PKCE.
- Parameters:
clientSecret- OAuth client secret for authenticating with the service. Required for confidential clients or when PKCE is not supported. Optional for public clients using PKCE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportCodeChallenge
Whether the service supports PKCE (Proof Key for Code Exchange) for enhanced security during the OAuth flow.
- Parameters:
supportCodeChallenge- Whether the service supports PKCE (Proof Key for Code Exchange) for enhanced security during the OAuth flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
OAuth scopes for 3LO authentication. The service will always request scope offline_access.
- Parameters:
scopes- OAuth scopes for 3LO authentication. The service will always request scope offline_access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
OAuth scopes for 3LO authentication. The service will always request scope offline_access.
- Parameters:
scopes- OAuth scopes for 3LO authentication. The service will always request scope offline_access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-