Package com.auth0.net

Interface AuthRequest

All Superinterfaces:
Request<TokenHolder>
All Known Implementing Classes:
TokenRequest

public interface AuthRequest extends Request<TokenHolder>
Class that represents an OAuth 2.0 Authentication/Authorization request. The execution will return a TokenHolder.
  • Method Details

    • setRealm

      AuthRequest setRealm(String realm)
      Setter for the realm value to request
      Parameters:
      realm - the realm to request
      Returns:
      this request instance.
    • setAudience

      AuthRequest setAudience(String audience)
      Setter for the audience value to request
      Parameters:
      audience - the audience to request
      Returns:
      this request instance.
    • setScope

      AuthRequest setScope(String scope)
      Setter for the scope value to request
      Parameters:
      scope - the scope to request
      Returns:
      this request instance.