Interface AuthorizationCodeGrantDetails.Builder

  • Method Details

    • clientId

      The client ID for the OAuth application.

      Parameters:
      clientId - The client ID for the OAuth application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecret

      AuthorizationCodeGrantDetails.Builder clientSecret(String clientSecret)

      The client secret for the OAuth application.

      Parameters:
      clientSecret - The client secret for the OAuth application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tokenEndpoint

      AuthorizationCodeGrantDetails.Builder tokenEndpoint(String tokenEndpoint)

      The token endpoint URL for obtaining access tokens.

      Parameters:
      tokenEndpoint - The token endpoint URL for obtaining access tokens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationEndpoint

      AuthorizationCodeGrantDetails.Builder authorizationEndpoint(String authorizationEndpoint)

      The authorization endpoint URL for the OAuth flow.

      Parameters:
      authorizationEndpoint - The authorization endpoint URL for the OAuth flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.