public class OpenIDStateHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
REQUEST_OPENID_AUTH_RESPONSE |
static String |
SESSION_OPENID_AUTH_REQUEST |
Modifier and Type | Method and Description |
---|---|
static OpenIDAuthRequest |
getActiveRequest(javax.servlet.http.HttpServletRequest request) |
static OpenIDAuthResponse |
getActiveResponse(javax.servlet.http.HttpServletRequest request) |
static void |
removeActiveRequest(javax.servlet.http.HttpServletRequest request)
Removes the given auth request from the session of the provided http request.
|
static void |
setActiveRequest(javax.servlet.http.HttpServletRequest request,
OpenIDAuthRequest openIDAuthRequest)
Saves the given auth request in the session of the provided http request.
|
static void |
setActiveResponse(javax.servlet.http.HttpServletRequest request,
OpenIDAuthResponse openIDAuthRequest)
Saves the given auth response in the provided http request
|
public static final String SESSION_OPENID_AUTH_REQUEST
public static final String REQUEST_OPENID_AUTH_RESPONSE
@Nullable public static OpenIDAuthRequest getActiveRequest(javax.servlet.http.HttpServletRequest request)
request
- http requestpublic static void setActiveRequest(javax.servlet.http.HttpServletRequest request, OpenIDAuthRequest openIDAuthRequest)
request
- http requestopenIDAuthRequest
- open id auth request to setpublic static void removeActiveRequest(javax.servlet.http.HttpServletRequest request)
request
- http request@Nullable public static OpenIDAuthResponse getActiveResponse(javax.servlet.http.HttpServletRequest request)
request
- http requestpublic static void setActiveResponse(javax.servlet.http.HttpServletRequest request, OpenIDAuthResponse openIDAuthRequest)
request
- http requestopenIDAuthRequest
- open id auth response to setCopyright © 2021 Atlassian. All rights reserved.