Class OAuthRequest
- java.lang.Object
-
- org.apache.oltu.oauth2.as.request.OAuthRequest
-
- Direct Known Subclasses:
AbstractOAuthTokenRequest
,OAuthAuthzRequest
public abstract class OAuthRequest extends java.lang.Object
The Abstract OAuth request for the Authorization server.
-
-
Constructor Summary
Constructors Constructor Description OAuthRequest()
OAuthRequest(HttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClientId()
java.lang.String
getClientSecret()
java.lang.String
getParam(java.lang.String name)
java.lang.String
getRedirectURI()
java.util.Set<java.lang.String>
getScopes()
boolean
isClientAuthHeaderUsed()
-
-
-
Constructor Detail
-
OAuthRequest
public OAuthRequest(HttpServletRequest request) throws OAuthSystemException, OAuthProblemException
-
OAuthRequest
public OAuthRequest()
-
-
Method Detail
-
getParam
public java.lang.String getParam(java.lang.String name)
-
getClientId
public java.lang.String getClientId()
-
getRedirectURI
public java.lang.String getRedirectURI()
-
getClientSecret
public java.lang.String getClientSecret()
-
isClientAuthHeaderUsed
public boolean isClientAuthHeaderUsed()
- Returns:
-
getScopes
public java.util.Set<java.lang.String> getScopes()
-
-