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 Details

    • persistToken

      @EventListener void persistToken(RefreshTokenGeneratedEvent event)
      Persist the refresh token.
      Parameters:
      event - The refresh token generated event
    • getAuthentication

      org.reactivestreams.Publisher<Authentication> getAuthentication(String refreshToken)
      Parameters:
      refreshToken - The refresh token
      Returns:
      The user details associated with the refresh token