Interface MCPServerOAuthClientCredentialsConfig.Builder

  • 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

      MCPServerOAuthClientCredentialsConfig.Builder exchangeParameters(Map<String,String> 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.
    • clientSecret

      OAuth client secret for authenticating with the service.

      Parameters:
      clientSecret - OAuth client secret for authenticating with the service.
      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.
    • 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.