Example usage for Java org.springframework.security.oauth2.provider.token DefaultTokenServices fields, constructors, methods, implement or subclass
The text is from its open source code.
void | afterPropertiesSet() Initialize these token services. |
void | setAuthenticationManager(AuthenticationManager authenticationManager) An authentication manager that will be used (if provided) to check the user authentication when a token is refreshed. |
void | setClientDetailsService(ClientDetailsService clientDetailsService) The client details service to use for looking up clients (if necessary). |
void | setReuseRefreshToken(boolean reuseRefreshToken) Whether to reuse refresh tokens (until expired). |
void | setSupportRefreshToken(boolean supportRefreshToken) Whether to support the refresh token. |
void | setTokenEnhancer(TokenEnhancer accessTokenEnhancer) An access token enhancer that will be applied to a new token before it is saved in the token store. |
void | setTokenStore(TokenStore tokenStore) The persistence strategy for token storage. |