Interface RefreshTokenGenerator
- All Known Implementing Classes:
 SignedRefreshTokenGenerator
public interface RefreshTokenGenerator
Responsible for generating refresh tokens. This class assumes the internal
 value of the token will be transformed in some way before being sent to
 the client.
- Since:
 - 2.0.0
 - Author:
 - James Kleeh
 
- 
Method Summary
Modifier and TypeMethodDescriptioncreateKey(Authentication authentication) generate(Authentication authentication, String token)  
- 
Method Details
- 
createKey
- Parameters:
 authentication- The user details- Returns:
 - The internal value that will persisted.
 
 - 
generate
- Parameters:
 authentication- The user detailstoken- The internal value- Returns:
 - The refresh token
 
 
 -