public class OAuthTokenRequest extends AbstractOAuthTokenRequest
request, validator, validators| Constructor and Description |
|---|
OAuthTokenRequest(javax.servlet.http.HttpServletRequest request)
Create an OAuth Token request from a given HttpSerlvetRequest
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.oltu.oauth2.common.validators.OAuthValidator<javax.servlet.http.HttpServletRequest> |
initValidator() |
getCode, getGrantType, getPassword, getRefreshToken, getUsernamegetClientId, getClientSecret, getParam, getRedirectURI, getScopes, isClientAuthHeaderUsed, validatepublic OAuthTokenRequest(javax.servlet.http.HttpServletRequest request)
throws org.apache.oltu.oauth2.common.exception.OAuthSystemException,
org.apache.oltu.oauth2.common.exception.OAuthProblemException
request - the httpservletrequest that is validated and transformed into the OAuth Token Requestorg.apache.oltu.oauth2.common.exception.OAuthSystemException - if an unexpected exception was thrownorg.apache.oltu.oauth2.common.exception.OAuthProblemException - if the request was not a valid Token request this exception is thrown.protected org.apache.oltu.oauth2.common.validators.OAuthValidator<javax.servlet.http.HttpServletRequest> initValidator()
throws org.apache.oltu.oauth2.common.exception.OAuthProblemException,
org.apache.oltu.oauth2.common.exception.OAuthSystemException
initValidator in class AbstractOAuthTokenRequestorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionorg.apache.oltu.oauth2.common.exception.OAuthSystemExceptionCopyright © 2010–2016 The Apache Software Foundation. All rights reserved.