public interface OAuth2TokenValidator
| Modifier and Type | Method and Description |
|---|---|
OAuthValidationResponse |
validateToken(String accessToken,
String resource)
This method gets a string accessToken and validates it and generate the OAuthValidationResponse
containing the validity and user details if valid.
|
OAuthValidationResponse validateToken(String accessToken, String resource) throws OAuthTokenValidationException
accessToken - which need to be validated.resource - which need to be validated.OAuthTokenValidationExceptionCopyright © 2017 WSO2. All rights reserved.