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) |
@NonNull java.lang.String createKey(@NonNull UserDetails userDetails)
userDetails
- The user details@NonNull java.util.Optional<java.lang.String> generate(@NonNull UserDetails userDetails, @NonNull java.lang.String token)
userDetails
- The user detailstoken
- The internal value