Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<String,OAuth2Authentication> |
InMemoryAuthorizationCodeServices.authorizationCodeStore |
Modifier and Type | Method and Description |
---|---|
OAuth2Authentication |
AuthorizationCodeServices.consumeAuthorizationCode(String code)
Consume a authorization code.
|
OAuth2Authentication |
RandomValueAuthorizationCodeServices.consumeAuthorizationCode(String code) |
protected OAuth2Authentication |
AuthorizationCodeTokenGranter.getOAuth2Authentication(ClientDetails client,
TokenRequest tokenRequest) |
OAuth2Authentication |
JdbcAuthorizationCodeServices.remove(String code) |
protected abstract OAuth2Authentication |
RandomValueAuthorizationCodeServices.remove(String code) |
OAuth2Authentication |
InMemoryAuthorizationCodeServices.remove(String code) |
Modifier and Type | Method and Description |
---|---|
String |
AuthorizationCodeServices.createAuthorizationCode(OAuth2Authentication authentication)
Create a authorization code for the specified authentications.
|
String |
RandomValueAuthorizationCodeServices.createAuthorizationCode(OAuth2Authentication authentication) |
protected void |
JdbcAuthorizationCodeServices.store(String code,
OAuth2Authentication authentication) |
protected abstract void |
RandomValueAuthorizationCodeServices.store(String code,
OAuth2Authentication authentication) |
protected void |
InMemoryAuthorizationCodeServices.store(String code,
OAuth2Authentication authentication) |
Modifier and Type | Method and Description |
---|---|
protected OAuth2Authentication |
ImplicitTokenGranter.getOAuth2Authentication(ClientDetails client,
TokenRequest clientToken) |
Modifier and Type | Method and Description |
---|---|
protected OAuth2Authentication |
ResourceOwnerPasswordTokenGranter.getOAuth2Authentication(ClientDetails client,
TokenRequest tokenRequest) |
Modifier and Type | Method and Description |
---|---|
OAuth2Authentication |
AccessTokenConverter.extractAuthentication(Map<String,?> map)
Recover an
OAuth2Authentication from the converted access token. |
OAuth2Authentication |
DefaultAccessTokenConverter.extractAuthentication(Map<String,?> map) |
protected OAuth2Authentication |
AbstractTokenGranter.getOAuth2Authentication(ClientDetails client,
TokenRequest tokenRequest) |
OAuth2Authentication |
ResourceServerTokenServices.loadAuthentication(String accessToken)
Load the credentials for the specified access token.
|
OAuth2Authentication |
DefaultTokenServices.loadAuthentication(String accessTokenValue) |
OAuth2Authentication |
RemoteTokenServices.loadAuthentication(String accessToken) |
OAuth2Authentication |
TokenStore.readAuthentication(OAuth2AccessToken token)
Read the authentication stored under the specified token value.
|
OAuth2Authentication |
TokenStore.readAuthentication(String token)
Read the authentication stored under the specified token value.
|
OAuth2Authentication |
TokenStore.readAuthenticationForRefreshToken(OAuth2RefreshToken token) |
Modifier and Type | Method and Description |
---|---|
Map<String,?> |
AccessTokenConverter.convertAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication) |
Map<String,?> |
DefaultAccessTokenConverter.convertAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication) |
OAuth2AccessToken |
DefaultTokenServices.createAccessToken(OAuth2Authentication authentication) |
OAuth2AccessToken |
AuthorizationServerTokenServices.createAccessToken(OAuth2Authentication authentication)
Create an access token associated with the specified credentials.
|
OAuth2AccessToken |
TokenEnhancer.enhance(OAuth2AccessToken accessToken,
OAuth2Authentication authentication)
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)
Loop over the
delegates passing the result into the next member of the chain. |
String |
DefaultAuthenticationKeyGenerator.extractKey(OAuth2Authentication authentication) |
String |
AuthenticationKeyGenerator.extractKey(OAuth2Authentication authentication) |
OAuth2AccessToken |
TokenStore.getAccessToken(OAuth2Authentication authentication)
Retrieve an access token stored against the provided authentication key, if it exists.
|
OAuth2AccessToken |
DefaultTokenServices.getAccessToken(OAuth2Authentication authentication) |
OAuth2AccessToken |
AuthorizationServerTokenServices.getAccessToken(OAuth2Authentication authentication)
Retrieve an access token stored against the provided authentication key, if it exists.
|
void |
TokenStore.storeAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
Store an access token.
|
void |
TokenStore.storeRefreshToken(OAuth2RefreshToken refreshToken,
OAuth2Authentication authentication)
Store the specified refresh token in the store.
|
Modifier and Type | Method and Description |
---|---|
OAuth2Authentication |
JwkTokenStore.readAuthentication(OAuth2AccessToken token)
Delegates to the internal instance
JwtTokenStore.readAuthentication(OAuth2AccessToken) . |
OAuth2Authentication |
JwkTokenStore.readAuthentication(String tokenValue)
Delegates to the internal instance
JwtTokenStore.readAuthentication(String) . |
OAuth2Authentication |
JwkTokenStore.readAuthenticationForRefreshToken(OAuth2RefreshToken token)
This operation is not applicable for a Resource Server
and if called, will throw a
JwkException . |
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
JwkTokenStore.getAccessToken(OAuth2Authentication authentication)
This operation is not applicable for a Resource Server
and if called, will throw a
JwkException . |
void |
JwkTokenStore.storeAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication)
This operation is not applicable for a Resource Server
and if called, will throw a
JwkException . |
void |
JwkTokenStore.storeRefreshToken(OAuth2RefreshToken refreshToken,
OAuth2Authentication authentication)
This operation is not applicable for a Resource Server
and if called, will throw a
JwkException . |
Modifier and Type | Method and Description |
---|---|
OAuth2Authentication |
RedisTokenStore.readAuthentication(OAuth2AccessToken token) |
OAuth2Authentication |
RedisTokenStore.readAuthentication(String token) |
OAuth2Authentication |
RedisTokenStore.readAuthenticationForRefreshToken(OAuth2RefreshToken token) |
OAuth2Authentication |
RedisTokenStore.readAuthenticationForRefreshToken(String token) |
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
RedisTokenStore.getAccessToken(OAuth2Authentication authentication) |
void |
RedisTokenStore.storeAccessToken(OAuth2AccessToken token,
OAuth2Authentication authentication) |
void |
RedisTokenStore.storeRefreshToken(OAuth2RefreshToken refreshToken,
OAuth2Authentication authentication) |
Copyright © 2019. All rights reserved.