public interface OAuth2Validator
| Modifier and Type | Interface and Description |
|---|---|
static class |
OAuth2Validator.ValidationResponse
See the spec
|
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHORIZATION_CODE_GRANT_RESPONSE_TYPE |
static String |
BEARER |
static String |
GRANT_TYPE_AUTHORIZATION_CODE |
static String |
GRANT_TYPE_REFRESH_TOKEN |
static String |
IMPLICIT_GRANT_RESPONSE_TYPE |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Validator.ValidationResponse |
validate(AccessTokenRequest request)
Validate the
AccessTokenRequest |
OAuth2Validator.ValidationResponse |
validate(AuthorizationRequest request)
Validate the
AuthorizationRequest |
static final String IMPLICIT_GRANT_RESPONSE_TYPE
static final String AUTHORIZATION_CODE_GRANT_RESPONSE_TYPE
static final String GRANT_TYPE_AUTHORIZATION_CODE
static final String GRANT_TYPE_REFRESH_TOKEN
static final String BEARER
OAuth2Validator.ValidationResponse validate(AuthorizationRequest request)
AuthorizationRequestrequest - the Authorization Request with the data send from the clientOAuth2Validator.ValidationResponse specifying what is wrong (if any)OAuth2Validator.ValidationResponse validate(AccessTokenRequest request)
AccessTokenRequestrequest - the AccessTokenRequest with the data send from the clientOAuth2Validator.ValidationResponse specifying what is wrong (if any)Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.