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

所有已知实现类:
AbstractTokenGranter, AuthorizationCodeTokenGranter, ClientCredentialsTokenGranter, CompositeTokenGranter, ImplicitTokenGranter, RefreshTokenGranter, ResourceOwnerPasswordTokenGranter

public interface TokenGranter

Interface for granters of access tokens. Various grant types are defined in the specification, and each of those has an implementation, leaving room for extensions to the specification as needed.

作者:
Dave Syer

方法摘要
 OAuth2AccessToken grant(String grantType, TokenRequest tokenRequest)
           
 

方法详细信息

grant

OAuth2AccessToken grant(String grantType,
                        TokenRequest tokenRequest)


Copyright © 2013. All rights reserved.