Interface SessionInfo

  • All Known Implementing Classes:
    OAuth2SessionInfo, OpenIDConnectSessionInfo

    public interface SessionInfo
    SessionInfo object represents information about an Oauth session. Each class that creates one of these objects must implement the isActive() method according to how the client determines necessary.

    • Method Detail

      • isActive

        boolean isActive()
        Returns the status of the auth server session.
        Returns:
        true if the session is still valid; false otherwise.
      • getExpireTime

        Long getExpireTime()
        Returns the expireTime of current auth token stored in the DataStore implementation.
        Returns:
        expire time of Auth token.