public interface OAuth2RequestValidator
AuthorizationEndpoint and TokenEndpoint.| Modifier and Type | Method and Description |
|---|---|
void |
validateScope(AuthorizationRequest authorizationRequest,
ClientDetails client)
Ensure that the client has requested a valid set of scopes.
|
void |
validateScope(TokenRequest tokenRequest,
ClientDetails client)
Ensure that the client has requested a valid set of scopes.
|
void validateScope(AuthorizationRequest authorizationRequest, ClientDetails client) throws InvalidScopeException
authorizationRequest - the AuthorizationRequest to be validatedclient - the client that is making the requestInvalidScopeException - if a requested scope is invalidvoid validateScope(TokenRequest tokenRequest, ClientDetails client) throws InvalidScopeException
tokenRequest - the TokenRequest to be validatedclient - the client that is making the requestInvalidScopeException - if a requested scope is invalidCopyright © 2019. All rights reserved.