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
grant
OAuth2AccessToken grant(String grantType,
TokenRequest tokenRequest)
Copyright © 2013. All rights reserved.