Java org.springframework.security.oauth2.provider.token DefaultTokenServices fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.security.oauth2.provider.token DefaultTokenServices fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.security.oauth2.provider.token DefaultTokenServices.

The text is from its open source code.

Subclass

org.springframework.security.oauth2.provider.token.DefaultTokenServices has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidafterPropertiesSet()
Initialize these token services.
voidsetAuthenticationManager(AuthenticationManager authenticationManager)
An authentication manager that will be used (if provided) to check the user authentication when a token is refreshed.
voidsetClientDetailsService(ClientDetailsService clientDetailsService)
The client details service to use for looking up clients (if necessary).
voidsetReuseRefreshToken(boolean reuseRefreshToken)
Whether to reuse refresh tokens (until expired).
voidsetSupportRefreshToken(boolean supportRefreshToken)
Whether to support the refresh token.
voidsetTokenEnhancer(TokenEnhancer accessTokenEnhancer)
An access token enhancer that will be applied to a new token before it is saved in the token store.
voidsetTokenStore(TokenStore tokenStore)
The persistence strategy for token storage.