Class AuthorizationRequest
java.lang.Object
org.nuxeo.ecm.platform.oauth2.request.OAuth2Request
org.nuxeo.ecm.platform.oauth2.request.AuthorizationRequest
- Since:
- 5.9.2
- Author:
- Arnaud Kervern
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected Date
static final String
protected String
protected String
static final String
protected String
Fields inherited from class org.nuxeo.ecm.platform.oauth2.request.OAuth2Request
clientId, redirectURI
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
AuthorizationRequest
(javax.servlet.http.HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthorizationRequest
fromMap
(Map<String, Serializable> map) static AuthorizationRequest
fromRequest
(javax.servlet.http.HttpServletRequest request) static AuthorizationRequest
getScope()
boolean
isCodeVerifierValid
(String codeVerifier) boolean
static void
static void
store
(String key, AuthorizationRequest authorizationRequest) toMap()
Methods inherited from class org.nuxeo.ecm.platform.oauth2.request.OAuth2Request
decodeParameter, getClientId, getRedirectURI
-
Field Details
-
MISSING_REQUIRED_FIELD_MESSAGE
- See Also:
-
STORE_NAME
- See Also:
-
responseType
-
scope
-
creationDate
-
authorizationCode
-
username
-
codeChallenge
-
codeChallengeMethod
-
-
Constructor Details
-
AuthorizationRequest
protected AuthorizationRequest(javax.servlet.http.HttpServletRequest request) -
AuthorizationRequest
-
-
Method Details
-
fromRequest
-
fromMap
-
store
-
get
-
remove
-
checkError
-
isExpired
public boolean isExpired() -
getResponseType
-
getScope
-
getUsername
-
getAuthorizationCode
-
getCodeChallenge
-
getCodeChallengeMethod
-
toMap
-
isCodeVerifierValid
-