Interface Oauth2AuthorizationServerMetadata.Builder

  • Method Details

    • issuer

      The issuer URL for the OAuth2 authorization server.

      Parameters:
      issuer - The issuer URL for the OAuth2 authorization server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationEndpoint

      Oauth2AuthorizationServerMetadata.Builder authorizationEndpoint(String authorizationEndpoint)

      The authorization endpoint URL for the OAuth2 authorization server.

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

      Oauth2AuthorizationServerMetadata.Builder tokenEndpoint(String tokenEndpoint)

      The token endpoint URL for the OAuth2 authorization server.

      Parameters:
      tokenEndpoint - The token endpoint URL for the OAuth2 authorization server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseTypes

      The supported response types for the OAuth2 authorization server.

      Parameters:
      responseTypes - The supported response types for the OAuth2 authorization server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseTypes

      Oauth2AuthorizationServerMetadata.Builder responseTypes(String... responseTypes)

      The supported response types for the OAuth2 authorization server.

      Parameters:
      responseTypes - The supported response types for the OAuth2 authorization server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.