public interface RefreshTokenGenerator
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createKey(Authentication authentication) |
java.util.Optional<java.lang.String> |
generate(Authentication authentication,
java.lang.String token) |
@NonNull java.lang.String createKey(@NonNull Authentication authentication)
authentication
- The user details@NonNull java.util.Optional<java.lang.String> generate(@NonNull Authentication authentication, @NonNull java.lang.String token)
authentication
- The user detailstoken
- The internal value