public abstract class OAuthRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.http.HttpServletRequest |
request |
protected org.apache.oltu.oauth2.common.validators.OAuthValidator<javax.servlet.http.HttpServletRequest> |
validator |
protected Map<String,Class<? extends org.apache.oltu.oauth2.common.validators.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 org.apache.oltu.oauth2.common.validators.OAuthValidator<javax.servlet.http.HttpServletRequest> |
initValidator() |
boolean |
isClientAuthHeaderUsed() |
protected void |
validate() |
protected javax.servlet.http.HttpServletRequest request
protected org.apache.oltu.oauth2.common.validators.OAuthValidator<javax.servlet.http.HttpServletRequest> validator
public OAuthRequest(javax.servlet.http.HttpServletRequest request)
throws org.apache.oltu.oauth2.common.exception.OAuthSystemException,
org.apache.oltu.oauth2.common.exception.OAuthProblemException
org.apache.oltu.oauth2.common.exception.OAuthSystemExceptionorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionpublic OAuthRequest()
protected void validate()
throws org.apache.oltu.oauth2.common.exception.OAuthSystemException,
org.apache.oltu.oauth2.common.exception.OAuthProblemException
org.apache.oltu.oauth2.common.exception.OAuthSystemExceptionorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionprotected abstract 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
org.apache.oltu.oauth2.common.exception.OAuthProblemExceptionorg.apache.oltu.oauth2.common.exception.OAuthSystemExceptionpublic String getClientId()
public String getRedirectURI()
public String getClientSecret()
public boolean isClientAuthHeaderUsed()
Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.