Interface RefreshTokenPersistence
public interface RefreshTokenPersistence
Responsible for persisting refresh tokens and retrieving
user details by a refresh token.
- Since:
- 2.0.0
- Author:
- James Kleeh
-
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<Authentication>
getAuthentication
(String refreshToken) void
Persist the refresh token.
-
Method Details
-
persistToken
Persist the refresh token.- Parameters:
event
- The refresh token generated event
-
getAuthentication
- Parameters:
refreshToken
- The refresh token- Returns:
- The user details associated with the refresh token
-