Interface ClientCredentialsGrantDetails.Builder

  • Method Details

    • clientId

      The client identifier issued to the client during the registration process with the authorization server.

      Parameters:
      clientId - The client identifier issued to the client during the registration process with the authorization server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecret

      ClientCredentialsGrantDetails.Builder clientSecret(String clientSecret)

      The client secret issued to the client during the registration process with the authorization server.

      Parameters:
      clientSecret - The client secret issued to the client during the registration process with the authorization server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tokenEndpoint

      ClientCredentialsGrantDetails.Builder tokenEndpoint(String tokenEndpoint)

      The authorization server endpoint used to obtain access tokens via the client credentials grant flow.

      Parameters:
      tokenEndpoint - The authorization server endpoint used to obtain access tokens via the client credentials grant flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.