Interface OAuth2Authentication.Builder

  • Method Details

    • sub

      The subject (sub) claim from the OAuth2 provider. Uniquely identifies the user at the provider.

      Parameters:
      sub - The subject (sub) claim from the OAuth2 provider. Uniquely identifies the user at the provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • emailAddress

      OAuth2Authentication.Builder emailAddress(String emailAddress)

      The email address from the OAuth2 provider (optional).

      Parameters:
      emailAddress - The email address from the OAuth2 provider (optional).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The user's name from the OAuth2 provider (optional).

      Parameters:
      name - The user's name from the OAuth2 provider (optional).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • username

      The username from the OAuth2 provider (optional).

      Parameters:
      username - The username from the OAuth2 provider (optional).
      Returns:
      Returns a reference to this object so that method calls can be chained together.