@Component(value="deviceTokenGranter") public class DeviceTokenGranter extends org.springframework.security.oauth2.provider.token.AbstractTokenGranter
DeviceEndpoint
Modifier and Type | Field and Description |
---|---|
static String |
GRANT_TYPE |
Modifier | Constructor and Description |
---|---|
protected |
DeviceTokenGranter(org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices tokenServices,
org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService,
org.springframework.security.oauth2.provider.OAuth2RequestFactory requestFactory) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.security.oauth2.provider.OAuth2Authentication |
getOAuth2Authentication(org.springframework.security.oauth2.provider.ClientDetails client,
org.springframework.security.oauth2.provider.TokenRequest tokenRequest) |
public static final String GRANT_TYPE
protected DeviceTokenGranter(org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices tokenServices, org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService, org.springframework.security.oauth2.provider.OAuth2RequestFactory requestFactory)
tokenServices
- clientDetailsService
- requestFactory
- grantType
- protected org.springframework.security.oauth2.provider.OAuth2Authentication getOAuth2Authentication(org.springframework.security.oauth2.provider.ClientDetails client, org.springframework.security.oauth2.provider.TokenRequest tokenRequest)
getOAuth2Authentication
in class org.springframework.security.oauth2.provider.token.AbstractTokenGranter
Copyright © 2018. All rights reserved.