org.springframework.security.oauth2.provider
接口 OAuth2RequestValidator

所有已知实现类:
DefaultOAuth2RequestValidator

public interface OAuth2RequestValidator

Validation interface for OAuth2 requests to the AuthorizationEndpoint and TokenEndpoint.

作者:
Amanda Anganes

方法摘要
 void validateScope(Map<String,String> parameters, Set<String> clientScopes)
          Ensure that the client has requested a valid set of scopes.
 

方法详细信息

validateScope

void validateScope(Map<String,String> parameters,
                   Set<String> clientScopes)
                   throws InvalidScopeException
Ensure that the client has requested a valid set of scopes.

参数:
parameters - the parameters on the request, including scope
clientScopes - the requesting client's registered, allowed scopes
抛出:
InvalidScopeException - if a requested scope is invalid


Copyright © 2013. All rights reserved.