Modifier and Type | Method and Description |
---|---|
protected OAuth2AccessToken |
OAuth2RestTemplate.acquireAccessToken(OAuth2ClientContext oauth2Context)
Deprecated.
|
OAuth2AccessToken |
OAuth2RestTemplate.getAccessToken()
Deprecated.
Acquire or renew an access token for the current context if necessary.
|
OAuth2AccessToken |
DefaultOAuth2ClientContext.getAccessToken()
Deprecated.
|
OAuth2AccessToken |
OAuth2RestOperations.getAccessToken()
Deprecated.
|
OAuth2AccessToken |
OAuth2ClientContext.getAccessToken()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected URI |
OAuth2RestTemplate.appendQueryParameter(URI uri,
OAuth2AccessToken accessToken)
Deprecated.
|
void |
DefaultOAuth2ClientContext.setAccessToken(OAuth2AccessToken accessToken)
Deprecated.
|
void |
OAuth2ClientContext.setAccessToken(OAuth2AccessToken accessToken)
Deprecated.
|
Constructor and Description |
---|
DefaultOAuth2ClientContext(OAuth2AccessToken accessToken)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
OAuth2ContextSetup.getAccessToken()
Deprecated.
Get the current access token.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
ClientTokenServices.getAccessToken(OAuth2ProtectedResourceDetails resource,
org.springframework.security.core.Authentication authentication)
Deprecated.
Retrieve the access token for a given resource and user authentication (my be null).
|
OAuth2AccessToken |
JdbcClientTokenServices.getAccessToken(OAuth2ProtectedResourceDetails resource,
org.springframework.security.core.Authentication authentication)
Deprecated.
|
OAuth2AccessToken |
AccessTokenRequest.getExistingToken()
Deprecated.
|
OAuth2AccessToken |
DefaultAccessTokenRequest.getExistingToken()
Deprecated.
|
OAuth2AccessToken |
AccessTokenProvider.obtainAccessToken(OAuth2ProtectedResourceDetails details,
AccessTokenRequest parameters)
Deprecated.
Obtain a new access token for the specified protected resource.
|
OAuth2AccessToken |
AccessTokenProviderChain.obtainAccessToken(OAuth2ProtectedResourceDetails resource,
AccessTokenRequest request)
Deprecated.
|
protected OAuth2AccessToken |
AccessTokenProviderChain.obtainNewAccessTokenInternal(OAuth2ProtectedResourceDetails details,
AccessTokenRequest request)
Deprecated.
|
OAuth2AccessToken |
AccessTokenProvider.refreshAccessToken(OAuth2ProtectedResourceDetails resource,
OAuth2RefreshToken refreshToken,
AccessTokenRequest request)
Deprecated.
|
OAuth2AccessToken |
AccessTokenProviderChain.refreshAccessToken(OAuth2ProtectedResourceDetails resource,
OAuth2RefreshToken refreshToken,
AccessTokenRequest request)
Deprecated.
Obtain a new access token for the specified resource using the refresh token.
|
protected OAuth2AccessToken |
OAuth2AccessTokenSupport.retrieveToken(AccessTokenRequest request,
OAuth2ProtectedResourceDetails resource,
MultiValueMap<String,String> form,
org.springframework.http.HttpHeaders headers)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.web.client.ResponseExtractor<OAuth2AccessToken> |
OAuth2AccessTokenSupport.getResponseExtractor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientTokenServices.saveAccessToken(OAuth2ProtectedResourceDetails resource,
org.springframework.security.core.Authentication authentication,
OAuth2AccessToken accessToken)
Deprecated.
Save or update the access token for this resource and authentication (may be null).
|
void |
JdbcClientTokenServices.saveAccessToken(OAuth2ProtectedResourceDetails resource,
org.springframework.security.core.Authentication authentication,
OAuth2AccessToken accessToken)
Deprecated.
|
void |
AccessTokenRequest.setExistingToken(OAuth2AccessToken existingToken)
Deprecated.
|
void |
DefaultAccessTokenRequest.setExistingToken(OAuth2AccessToken existingToken)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
ClientCredentialsAccessTokenProvider.obtainAccessToken(OAuth2ProtectedResourceDetails details,
AccessTokenRequest request)
Deprecated.
|
OAuth2AccessToken |
ClientCredentialsAccessTokenProvider.refreshAccessToken(OAuth2ProtectedResourceDetails resource,
OAuth2RefreshToken refreshToken,
AccessTokenRequest request)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
AuthorizationCodeAccessTokenProvider.obtainAccessToken(OAuth2ProtectedResourceDetails details,
AccessTokenRequest request)
Deprecated.
|
OAuth2AccessToken |
AuthorizationCodeAccessTokenProvider.refreshAccessToken(OAuth2ProtectedResourceDetails resource,
OAuth2RefreshToken refreshToken,
AccessTokenRequest request)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
ImplicitAccessTokenProvider.obtainAccessToken(OAuth2ProtectedResourceDetails details,
AccessTokenRequest request)
Deprecated.
|
OAuth2AccessToken |
ImplicitAccessTokenProvider.refreshAccessToken(OAuth2ProtectedResourceDetails resource,
OAuth2RefreshToken refreshToken,
AccessTokenRequest request)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.web.client.ResponseExtractor<OAuth2AccessToken> |
ImplicitAccessTokenProvider.getResponseExtractor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
ResourceOwnerPasswordAccessTokenProvider.obtainAccessToken(OAuth2ProtectedResourceDetails details,
AccessTokenRequest request)
Deprecated.
|
OAuth2AccessToken |
ResourceOwnerPasswordAccessTokenProvider.refreshAccessToken(OAuth2ProtectedResourceDetails resource,
OAuth2RefreshToken refreshToken,
AccessTokenRequest request)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultOAuth2AccessToken
Deprecated.
See the OAuth 2.0 Migration Guide for Spring Security 5.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
OAuth2AccessTokenJackson2Deserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
Deprecated.
|
static OAuth2AccessToken |
DefaultOAuth2AccessToken.valueOf(Map<String,String> tokenParams)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
OAuth2AccessTokenJackson2Serializer.serialize(OAuth2AccessToken token,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
Deprecated.
|
Constructor and Description |
---|
DefaultOAuth2AccessToken(OAuth2AccessToken accessToken)
Deprecated.
Copy constructor for access token.
|
Modifier and Type | Method and Description |
---|---|
protected OAuth2AccessToken |
FormOAuth2AccessTokenMessageConverter.readInternal(Class<? extends OAuth2AccessToken> clazz,
org.springframework.http.HttpInputMessage inputMessage)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FormOAuth2AccessTokenMessageConverter.writeInternal(OAuth2AccessToken accessToken,
org.springframework.http.HttpOutputMessage outputMessage)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected OAuth2AccessToken |
FormOAuth2AccessTokenMessageConverter.readInternal(Class<? extends OAuth2AccessToken> clazz,
org.springframework.http.HttpInputMessage inputMessage)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected OAuth2AccessToken |
JaxbOAuth2AccessTokenMessageConverter.convertToExternal(org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2AccessToken jaxbAccessToken)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.security.oauth2.http.converter.jaxb.JaxbOAuth2AccessToken |
JaxbOAuth2AccessTokenMessageConverter.convertToInternal(OAuth2AccessToken accessToken)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
CompositeTokenGranter.grant(String grantType,
TokenRequest tokenRequest)
Deprecated.
|
OAuth2AccessToken |
TokenGranter.grant(String grantType,
TokenRequest tokenRequest)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
ClientCredentialsTokenGranter.grant(String grantType,
TokenRequest tokenRequest)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<OAuth2AccessToken> |
TokenEndpoint.getAccessToken(Principal principal,
Map<String,String> parameters)
Deprecated.
|
org.springframework.http.ResponseEntity<OAuth2AccessToken> |
TokenEndpoint.postAccessToken(Principal principal,
Map<String,String> parameters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected OAuth2AccessToken |
RefreshTokenGranter.getAccessToken(ClientDetails client,
TokenRequest tokenRequest)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
DefaultTokenServices.createAccessToken(OAuth2Authentication authentication)
Deprecated.
|
OAuth2AccessToken |
AuthorizationServerTokenServices.createAccessToken(OAuth2Authentication authentication)
Deprecated.
Create an access token associated with the specified credentials.
|
OAuth2AccessToken |
TokenEnhancer.enhance(OAuth2AccessToken accessToken,
OAuth2Authentication authentication)
Deprecated.
Provides an opportunity for customization of an access token (e.g. through its additional information map) during
the process of creating a new token for use by a client.
|
OAuth2AccessToken |
TokenEnhancerChain.enhance(OAuth2AccessToken accessToken,
OAuth2Authentication authentication)
Deprecated.
Loop over the
delegates passing the result into the next member of the chain. |
OAuth2AccessToken |
AccessTokenConverter.extractAccessToken(String value,
Map<String,?> map)
Deprecated.
Recover an access token from the converted value.
|
OAuth2AccessToken |
DefaultAccessTokenConverter.extractAccessToken(String value,
Map<String,?> map)
Deprecated.
|
protected OAuth2AccessToken |
AbstractTokenGranter.getAccessToken(ClientDetails client,
TokenRequest tokenRequest)
Deprecated.
|
OAuth2AccessToken |
TokenStore.getAccessToken(OAuth2Authentication authentication)
Deprecated.
Retrieve an access token stored against the provided authentication key, if it exists.
|
OAuth2AccessToken |
DefaultTokenServices.getAccessToken(OAuth2Authentication authentication)
Deprecated.
|
OAuth2AccessToken |
AuthorizationServerTokenServices.getAccessToken(OAuth2Authentication authentication)
Deprecated.
Retrieve an access token stored against the provided authentication key, if it exists.
|
OAuth2AccessToken |
AbstractTokenGranter.grant(String grantType,
TokenRequest tokenRequest)
Deprecated.
|
OAuth2AccessToken |
ResourceServerTokenServices.readAccessToken(String accessToken)
Deprecated.
Retrieve the full access token details from just the value.
|
OAuth2AccessToken |
TokenStore.readAccessToken(String tokenValue)
Deprecated.
Read an access token from the store.
|
OAuth2AccessToken |
DefaultTokenServices.readAccessToken(String accessToken)
Deprecated.
|
OAuth2AccessToken |
RemoteTokenServices.readAccessToken(String accessToken)
Deprecated.
|
OAuth2AccessToken |
DefaultTokenServices.refreshAccessToken(String refreshTokenValue,
TokenRequest tokenRequest)
Deprecated.
|
OAuth2AccessToken |
AuthorizationServerTokenServices.refreshAccessToken(String refreshToken,
TokenRequest tokenRequest)
Deprecated.
Refresh an access token.
|
Modifier and Type | Method and Description |
---|---|
Collection<OAuth2AccessToken> |
TokenStore.findTokensByClientId(String clientId)
Deprecated.
|
Collection<OAuth2AccessToken> |
TokenStore.findTokensByClientIdAndUserName(String clientId,
String userName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,?> |
AccessTokenConverter.convertAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
Deprecated.
|
Map<String,?> |
DefaultAccessTokenConverter.convertAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
Deprecated.
|
OAuth2AccessToken |
TokenEnhancer.enhance(OAuth2AccessToken accessToken,
OAuth2Authentication authentication)
Deprecated.
Provides an opportunity for customization of an access token (e.g. through its additional information map) during
the process of creating a new token for use by a client.
|
OAuth2AccessToken |
TokenEnhancerChain.enhance(OAuth2AccessToken accessToken,
OAuth2Authentication authentication)
Deprecated.
Loop over the
delegates passing the result into the next member of the chain. |
OAuth2Authentication |
TokenStore.readAuthentication(OAuth2AccessToken token)
Deprecated.
Read the authentication stored under the specified token value.
|
void |
TokenStore.removeAccessToken(OAuth2AccessToken token)
Deprecated.
Remove an access token from the store.
|
void |
TokenStore.storeAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
Deprecated.
Store an access token.
|
Modifier and Type | Method and Description |
---|---|
protected OAuth2AccessToken |
JdbcTokenStore.deserializeAccessToken(byte[] token)
Deprecated.
|
OAuth2AccessToken |
JwtAccessTokenConverter.enhance(OAuth2AccessToken accessToken,
OAuth2Authentication authentication)
Deprecated.
|
OAuth2AccessToken |
JwtAccessTokenConverter.extractAccessToken(String value,
Map<String,?> map)
Deprecated.
|
OAuth2AccessToken |
JwtTokenStore.getAccessToken(OAuth2Authentication authentication)
Deprecated.
|
OAuth2AccessToken |
InMemoryTokenStore.getAccessToken(OAuth2Authentication authentication)
Deprecated.
|
OAuth2AccessToken |
JdbcTokenStore.getAccessToken(OAuth2Authentication authentication)
Deprecated.
|
OAuth2AccessToken |
JwtTokenStore.readAccessToken(String tokenValue)
Deprecated.
|
OAuth2AccessToken |
InMemoryTokenStore.readAccessToken(String tokenValue)
Deprecated.
|
OAuth2AccessToken |
JdbcTokenStore.readAccessToken(String tokenValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Collection<OAuth2AccessToken> |
JwtTokenStore.findTokensByClientId(String clientId)
Deprecated.
|
Collection<OAuth2AccessToken> |
InMemoryTokenStore.findTokensByClientId(String clientId)
Deprecated.
|
Collection<OAuth2AccessToken> |
JdbcTokenStore.findTokensByClientId(String clientId)
Deprecated.
|
Collection<OAuth2AccessToken> |
JwtTokenStore.findTokensByClientIdAndUserName(String clientId,
String userName)
Deprecated.
|
Collection<OAuth2AccessToken> |
InMemoryTokenStore.findTokensByClientIdAndUserName(String clientId,
String userName)
Deprecated.
|
Collection<OAuth2AccessToken> |
JdbcTokenStore.findTokensByClientIdAndUserName(String clientId,
String userName)
Deprecated.
|
Collection<OAuth2AccessToken> |
JdbcTokenStore.findTokensByUserName(String userName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,?> |
JwtAccessTokenConverter.convertAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
Deprecated.
|
protected String |
JwtAccessTokenConverter.encode(OAuth2AccessToken accessToken,
OAuth2Authentication authentication)
Deprecated.
|
OAuth2AccessToken |
JwtAccessTokenConverter.enhance(OAuth2AccessToken accessToken,
OAuth2Authentication authentication)
Deprecated.
|
boolean |
JwtAccessTokenConverter.isRefreshToken(OAuth2AccessToken token)
Deprecated.
|
OAuth2Authentication |
JwtTokenStore.readAuthentication(OAuth2AccessToken token)
Deprecated.
|
OAuth2Authentication |
InMemoryTokenStore.readAuthentication(OAuth2AccessToken token)
Deprecated.
|
OAuth2Authentication |
JdbcTokenStore.readAuthentication(OAuth2AccessToken token)
Deprecated.
|
void |
JwtTokenStore.removeAccessToken(OAuth2AccessToken token)
Deprecated.
|
void |
InMemoryTokenStore.removeAccessToken(OAuth2AccessToken accessToken)
Deprecated.
|
void |
JdbcTokenStore.removeAccessToken(OAuth2AccessToken token)
Deprecated.
|
protected byte[] |
JdbcTokenStore.serializeAccessToken(OAuth2AccessToken token)
Deprecated.
|
void |
JwtTokenStore.storeAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
Deprecated.
|
void |
InMemoryTokenStore.storeAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
Deprecated.
|
void |
JdbcTokenStore.storeAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
JwkTokenStore.getAccessToken(OAuth2Authentication authentication)
Deprecated.
This operation is not applicable for a Resource Server
and if called, will throw a
JwkException . |
OAuth2AccessToken |
JwkTokenStore.readAccessToken(String tokenValue)
Deprecated.
Delegates to the internal instance
JwtTokenStore.readAccessToken(String) . |
Modifier and Type | Method and Description |
---|---|
Collection<OAuth2AccessToken> |
JwkTokenStore.findTokensByClientId(String clientId)
Deprecated.
This operation is not applicable for a Resource Server
and if called, will throw a
JwkException . |
Collection<OAuth2AccessToken> |
JwkTokenStore.findTokensByClientIdAndUserName(String clientId,
String userName)
Deprecated.
This operation is not applicable for a Resource Server
and if called, will throw a
JwkException . |
Modifier and Type | Method and Description |
---|---|
OAuth2Authentication |
JwkTokenStore.readAuthentication(OAuth2AccessToken token)
Deprecated.
Delegates to the internal instance
JwtTokenStore.readAuthentication(OAuth2AccessToken) . |
void |
JwkTokenStore.removeAccessToken(OAuth2AccessToken token)
Deprecated.
Delegates to the internal instance
JwtTokenStore.removeAccessToken(OAuth2AccessToken) . |
void |
JwkTokenStore.storeAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
Deprecated.
This operation is not applicable for a Resource Server
and if called, will throw a
JwkException . |
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
RedisTokenStore.getAccessToken(OAuth2Authentication authentication)
Deprecated.
|
OAuth2AccessToken |
RedisTokenStore.readAccessToken(String tokenValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Collection<OAuth2AccessToken> |
RedisTokenStore.findTokensByClientId(String clientId)
Deprecated.
|
Collection<OAuth2AccessToken> |
RedisTokenStore.findTokensByClientIdAndUserName(String clientId,
String userName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OAuth2Authentication |
RedisTokenStore.readAuthentication(OAuth2AccessToken token)
Deprecated.
|
void |
RedisTokenStore.removeAccessToken(OAuth2AccessToken accessToken)
Deprecated.
|
void |
RedisTokenStore.storeAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
Deprecated.
|
Copyright © 2019. All rights reserved.