Class OAuthTokenRequest
- java.lang.Object
-
- org.apache.oltu.oauth2.as.request.OAuthRequest
-
- org.apache.oltu.oauth2.as.request.AbstractOAuthTokenRequest
-
- org.apache.oltu.oauth2.as.request.OAuthTokenRequest
-
public class OAuthTokenRequest extends AbstractOAuthTokenRequest
The Default OAuth Authorization Server class that validates whether a given HttpServletRequest is a valid OAuth Token request. IMPORTANT: This OAuthTokenRequest assumes that a token request requires client authentication. Please see section 3.2.1 of the OAuth Specification: http://tools.ietf.org/html/rfc6749#section-3.2.1
-
-
Constructor Summary
Constructors Constructor Description OAuthTokenRequest(HttpServletRequest request)
Create an OAuth Token request from a given HttpSerlvetRequest
-
Method Summary
-
Methods inherited from class org.apache.oltu.oauth2.as.request.AbstractOAuthTokenRequest
getCode, getGrantType, getPassword, getRefreshToken, getUsername
-
Methods inherited from class org.apache.oltu.oauth2.as.request.OAuthRequest
getClientId, getClientSecret, getParam, getRedirectURI, getScopes, isClientAuthHeaderUsed
-
-
-
-
Constructor Detail
-
OAuthTokenRequest
public OAuthTokenRequest(HttpServletRequest request) throws OAuthSystemException, OAuthProblemException
Create an OAuth Token request from a given HttpSerlvetRequest- Parameters:
request
- the httpservletrequest that is validated and transformed into the OAuth Token Request- Throws:
OAuthSystemException
- if an unexpected exception was thrownOAuthProblemException
- if the request was not a valid Token request this exception is thrown.
-
-