Package com.auth0.net
Interface AuthRequest
- All Superinterfaces:
Request<TokenHolder>
- All Known Implementing Classes:
TokenRequest
Class that represents an OAuth 2.0 Authentication/Authorization request. The execution will return a
TokenHolder
.-
Method Summary
Modifier and TypeMethodDescriptionsetAudience(String audience)
Setter for the audience value to requestSetter for the realm value to requestSetter for the scope value to requestMethods inherited from interface com.auth0.net.Request
execute, executeAsync
-
Method Details
-
setRealm
Setter for the realm value to request- Parameters:
realm
- the realm to request- Returns:
- this request instance.
-
setAudience
Setter for the audience value to request- Parameters:
audience
- the audience to request- Returns:
- this request instance.
-
setScope
Setter for the scope value to request- Parameters:
scope
- the scope to request- Returns:
- this request instance.
-