forked from auth0/auth0-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAuthRequest.java
More file actions
33 lines (28 loc) · 839 Bytes
/
AuthRequest.java
File metadata and controls
33 lines (28 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.auth0.net;
import com.auth0.json.auth.TokenHolder;
/**
* Class that represents an OAuth 2.0 Authentication/Authorization request. The execution will return a {@link TokenHolder}.
*/
public interface AuthRequest extends Request<TokenHolder> {
/**
* Setter for the realm value to request
*
* @param realm the realm to request
* @return this request instance.
*/
AuthRequest setRealm(String realm);
/**
* Setter for the audience value to request
*
* @param audience the audience to request
* @return this request instance.
*/
AuthRequest setAudience(String audience);
/**
* Setter for the scope value to request
*
* @param scope the scope to request
* @return this request instance.
*/
AuthRequest setScope(String scope);
}