Class OAuthUnauthenticatedTokenRequest
- java.lang.Object
-
- org.apache.oltu.oauth2.as.request.OAuthRequest
-
- org.apache.oltu.oauth2.as.request.AbstractOAuthTokenRequest
-
- org.apache.oltu.oauth2.as.request.OAuthUnauthenticatedTokenRequest
-
public class OAuthUnauthenticatedTokenRequest extends AbstractOAuthTokenRequest
The Unauthenticated OAuth Authorization Server class that validates whether a given HttpServletRequest is a valid OAuth Token request. This class accepts requests that are NOT authenticated, that is requests that do not contain a client_secret. IMPORTANT: The ClientCredentials Grant Type is NOT supported by this class since client authentication is required for this grant type. In order to support the client credentials grant type please use theOAuthTokenRequest
class.
-
-
Constructor Summary
Constructors Constructor Description OAuthUnauthenticatedTokenRequest(HttpServletRequest request)
-
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
-
OAuthUnauthenticatedTokenRequest
public OAuthUnauthenticatedTokenRequest(HttpServletRequest request) throws OAuthSystemException, OAuthProblemException
-
-