Interface AuthenticatedClientSessionModel

All Superinterfaces:
CommonClientSessionModel
All Known Implementing Classes:
AuthenticatedClientSessionAdapter, PersistentAuthenticatedClientSessionAdapter

public interface AuthenticatedClientSessionModel extends CommonClientSessionModel
Author:
Marek Posolda
  • Field Details

  • Method Details

    • getId

      String getId()
    • getStarted

      default int getStarted()
    • getUserSessionStarted

      default int getUserSessionStarted()
    • isUserSessionRememberMe

      default boolean isUserSessionRememberMe()
    • getTimestamp

      int getTimestamp()
    • setTimestamp

      void setTimestamp(int timestamp)
      Set the timestamp for the client session. If the timestamp is smaller or equal than the current timestamp, the operation is ignored.
    • detachFromUserSession

      void detachFromUserSession()
      Detaches the client session from its user session.
    • getUserSession

      UserSessionModel getUserSession()
    • getCurrentRefreshToken

      @Deprecated default String getCurrentRefreshToken()
      Deprecated.
    • setCurrentRefreshToken

      @Deprecated default void setCurrentRefreshToken(String currentRefreshToken)
    • getCurrentRefreshTokenUseCount

      @Deprecated default int getCurrentRefreshTokenUseCount()
    • setCurrentRefreshTokenUseCount

      @Deprecated default void setCurrentRefreshTokenUseCount(int currentRefreshTokenUseCount)
      Deprecated.
    • getRefreshToken

      default String getRefreshToken(String reuseId)
    • setRefreshToken

      default void setRefreshToken(String reuseId, String refreshTokenId)
    • getRefreshTokenUseCount

      default int getRefreshTokenUseCount(String reuseId)
    • setRefreshTokenUseCount

      default void setRefreshTokenUseCount(String reuseId, int refreshTokenUseCount)
    • getRefreshTokenLastRefresh

      default int getRefreshTokenLastRefresh(String reuseId)
    • setRefreshTokenLastRefresh

      default void setRefreshTokenLastRefresh(String reuseId, int refreshTokenLastRefresh)
    • getNote

      String getNote(String name)
    • setNote

      void setNote(String name, String value)
    • removeNote

      void removeNote(String name)
    • getNotes

      Map<String,String> getNotes()
    • restartClientSession

      default void restartClientSession()