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 Stringassertionprotected static StringBASIC_AUTHENTICATION_HEADER_PREFIXprotected StringclientSecretprotected Stringcodeprotected StringcodeVerifierprotected StringgrantTypeprotected StringrefreshToken-
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 voidcheckAuthorization(javax.servlet.http.HttpServletRequest request)StringgetAssertion()StringgetClientSecret()StringgetCode()StringgetCodeVerifier()StringgetGrantType()StringgetRefreshToken()-
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
-
-