@Deprecated public abstract class AbstractTokenGranter extends Object implements TokenGranter
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractTokenGranter(AuthorizationServerTokenServices tokenServices,
ClientDetailsService clientDetailsService,
OAuth2RequestFactory requestFactory,
String grantType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected OAuth2AccessToken |
getAccessToken(ClientDetails client,
TokenRequest tokenRequest)
Deprecated.
|
protected OAuth2Authentication |
getOAuth2Authentication(ClientDetails client,
TokenRequest tokenRequest)
Deprecated.
|
protected OAuth2RequestFactory |
getRequestFactory()
Deprecated.
|
protected AuthorizationServerTokenServices |
getTokenServices()
Deprecated.
|
OAuth2AccessToken |
grant(String grantType,
TokenRequest tokenRequest)
Deprecated.
|
protected void |
validateGrantType(String grantType,
ClientDetails clientDetails)
Deprecated.
|
protected AbstractTokenGranter(AuthorizationServerTokenServices tokenServices, ClientDetailsService clientDetailsService, OAuth2RequestFactory requestFactory, String grantType)
public OAuth2AccessToken grant(String grantType, TokenRequest tokenRequest)
grant
in interface TokenGranter
protected OAuth2AccessToken getAccessToken(ClientDetails client, TokenRequest tokenRequest)
protected OAuth2Authentication getOAuth2Authentication(ClientDetails client, TokenRequest tokenRequest)
protected void validateGrantType(String grantType, ClientDetails clientDetails)
protected AuthorizationServerTokenServices getTokenServices()
protected OAuth2RequestFactory getRequestFactory()
Copyright © 2019. All rights reserved.