-
Notifications
You must be signed in to change notification settings - Fork 71
/
OIDCAuthRequest.java
86 lines (55 loc) · 1.53 KB
/
OIDCAuthRequest.java
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package io.jans.kc.oidc;
import java.util.List;
import java.util.ArrayList;
public class OIDCAuthRequest {
private String clientId;
private String state;
private String nonce;
private List<String> scopes;
private List<String> responseTypes;
private String redirectUri;
public OIDCAuthRequest() {
this.clientId = null;
this.state = null;
this.nonce = null;
this.scopes = new ArrayList<>();
this.responseTypes = new ArrayList<>();
this.redirectUri = null;
}
public String getClientId() {
return this.clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public void setState(String state) {
this.state = state;
}
public final String getState() {
return this.state;
}
public void setNonce(String nonce) {
this.nonce = nonce;
}
public final String getNonce() {
return this.nonce;
}
public void addScope(String scope) {
this.scopes.add(scope);
}
public final List<String> getScopes() {
return this.scopes;
}
public void addResponseType(String responseType) {
this.responseTypes.add(responseType);
}
public final List<String> getResponseTypes() {
return this.responseTypes;
}
public void setRedirectUri(String redirectUri) {
this.redirectUri = redirectUri;
}
public String getRedirectUri() {
return this.redirectUri;
}
}