public interface RefreshTokenGenerator
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createKey(UserDetails userDetails) |
java.util.Optional<java.lang.String> |
generate(UserDetails userDetails,
java.lang.String token) |
java.lang.String createKey(UserDetails userDetails)
userDetails
- The user detailsjava.util.Optional<java.lang.String> generate(UserDetails userDetails, java.lang.String token)
userDetails
- The user detailstoken
- The internal value