public class EmbeddedLoginTokenGranter
extends org.springframework.security.oauth2.provider.token.AbstractTokenGranter
EmbeddedLoginTokenEndpointAuthenticationToken
in the security context.| Constructor and Description |
|---|
EmbeddedLoginTokenGranter(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)
Use the
EmbeddedLoginTokenEndpointAuthenticationToken to create a
OAuth2Authentication to be used in
AuthorizationServerTokenServices.createAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication) |
org.springframework.security.oauth2.common.OAuth2AccessToken |
grant(String grantType,
org.springframework.security.oauth2.provider.TokenRequest tokenRequest) |
public EmbeddedLoginTokenGranter(org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices tokenServices,
org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService,
org.springframework.security.oauth2.provider.OAuth2RequestFactory requestFactory)
public org.springframework.security.oauth2.common.OAuth2AccessToken grant(String grantType, org.springframework.security.oauth2.provider.TokenRequest tokenRequest)
grant in interface org.springframework.security.oauth2.provider.TokenGrantergrant in class org.springframework.security.oauth2.provider.token.AbstractTokenGranterprotected org.springframework.security.oauth2.provider.OAuth2Authentication getOAuth2Authentication(org.springframework.security.oauth2.provider.ClientDetails client,
org.springframework.security.oauth2.provider.TokenRequest tokenRequest)
EmbeddedLoginTokenEndpointAuthenticationToken to create a
OAuth2Authentication to be used in
AuthorizationServerTokenServices.createAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication)getOAuth2Authentication in class org.springframework.security.oauth2.provider.token.AbstractTokenGranterclient - tokenRequest - Copyright © 2021. All rights reserved.