public interface OAuth2Validator
Modifier and Type | Method and Description |
---|---|
void |
validateOAuth(String requestUrl,
String method)
validate whether the request OAuth token is valid.
|
void validateOAuth(String requestUrl, String method) throws OAuthDenyException
requestUrl
- For OCSG, Request's access url to match interfaceName of resource xml file.method
- For OCSG, HTTP method or SOAP method to match methodName of resource xml
file.OAuthDenyException
- exception when validation fail