Class TokenRequest
- java.lang.Object
-
- org.nuxeo.ecm.platform.oauth2.request.OAuth2Request
-
- org.nuxeo.ecm.platform.oauth2.request.TokenRequest
-
public class TokenRequest extends OAuth2Request
- Since:
- 5.9.2
- Author:
- Arnaud Kervern
-
-
Field Summary
Fields Modifier and Type Field Description protected String
assertion
protected static String
BASIC_AUTHENTICATION_HEADER_PREFIX
protected String
clientSecret
protected String
code
protected String
codeVerifier
protected String
grantType
protected String
refreshToken
-
Fields inherited from class org.nuxeo.ecm.platform.oauth2.request.OAuth2Request
clientId, redirectURI
-
-
Constructor Summary
Constructors Constructor Description TokenRequest(javax.servlet.http.HttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkAuthorization(javax.servlet.http.HttpServletRequest request)
String
getAssertion()
String
getClientSecret()
String
getCode()
String
getCodeVerifier()
String
getGrantType()
String
getRefreshToken()
-
Methods inherited from class org.nuxeo.ecm.platform.oauth2.request.OAuth2Request
decodeParameter, getClientId, getRedirectURI
-
-
-
-
Field Detail
-
BASIC_AUTHENTICATION_HEADER_PREFIX
protected static final String BASIC_AUTHENTICATION_HEADER_PREFIX
- See Also:
- Constant Field Values
-
grantType
protected String grantType
-
code
protected String code
-
clientSecret
protected String clientSecret
-
refreshToken
protected String refreshToken
-
codeVerifier
protected String codeVerifier
-
assertion
protected String assertion
-
-
Method Detail
-
checkAuthorization
protected void checkAuthorization(javax.servlet.http.HttpServletRequest request)
-
getGrantType
public String getGrantType()
-
getCode
public String getCode()
-
getClientSecret
public String getClientSecret()
-
getRefreshToken
public String getRefreshToken()
-
getCodeVerifier
public String getCodeVerifier()
-
getAssertion
public String getAssertion()
- Since:
- 11.1
-
-