public abstract class OAuthRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.http.HttpServletRequest |
request |
protected OAuthValidator<javax.servlet.http.HttpServletRequest> |
validator |
protected Map<String,Class<? extends OAuthValidator<javax.servlet.http.HttpServletRequest>>> |
validators |
| Constructor and Description |
|---|
OAuthRequest() |
OAuthRequest(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientId() |
String |
getClientSecret() |
String |
getParam(String name) |
String |
getRedirectURI() |
Set<String> |
getScopes() |
protected abstract OAuthValidator<javax.servlet.http.HttpServletRequest> |
initValidator() |
protected void |
validate() |
protected javax.servlet.http.HttpServletRequest request
protected OAuthValidator<javax.servlet.http.HttpServletRequest> validator
protected Map<String,Class<? extends OAuthValidator<javax.servlet.http.HttpServletRequest>>> validators
public OAuthRequest(javax.servlet.http.HttpServletRequest request)
throws OAuthSystemException,
OAuthProblemException
public OAuthRequest()
protected void validate()
throws OAuthSystemException,
OAuthProblemException
protected abstract OAuthValidator<javax.servlet.http.HttpServletRequest> initValidator() throws OAuthProblemException, OAuthSystemException
public String getClientId()
public String getRedirectURI()
public String getClientSecret()
Copyright © 2010-2015 WSO2. All Rights Reserved.