public class ResourceOwnerPasswordTokenGranter extends AbstractTokenGranter
logger| Modifier | Constructor and Description |
|---|---|
|
ResourceOwnerPasswordTokenGranter(org.springframework.security.authentication.AuthenticationManager authenticationManager,
AuthorizationServerTokenServices tokenServices,
ClientDetailsService clientDetailsService,
OAuth2RequestFactory requestFactory) |
protected |
ResourceOwnerPasswordTokenGranter(org.springframework.security.authentication.AuthenticationManager authenticationManager,
AuthorizationServerTokenServices tokenServices,
ClientDetailsService clientDetailsService,
OAuth2RequestFactory requestFactory,
String grantType) |
| Modifier and Type | Method and Description |
|---|---|
protected OAuth2Authentication |
getOAuth2Authentication(ClientDetails client,
TokenRequest tokenRequest) |
getAccessToken, getRequestFactory, getTokenServices, grant, validateGrantTypepublic ResourceOwnerPasswordTokenGranter(org.springframework.security.authentication.AuthenticationManager authenticationManager,
AuthorizationServerTokenServices tokenServices,
ClientDetailsService clientDetailsService,
OAuth2RequestFactory requestFactory)
protected ResourceOwnerPasswordTokenGranter(org.springframework.security.authentication.AuthenticationManager authenticationManager,
AuthorizationServerTokenServices tokenServices,
ClientDetailsService clientDetailsService,
OAuth2RequestFactory requestFactory,
String grantType)
protected OAuth2Authentication getOAuth2Authentication(ClientDetails client, TokenRequest tokenRequest)
getOAuth2Authentication in class AbstractTokenGranterCopyright © 2019. All rights reserved.