Package com.mcawful
Class PanelSessionManager.Session
java.lang.Object
com.mcawful.PanelSessionManager.Session
- Enclosing class:
- PanelSessionManager
A panel login session. Immutable apart from being ended early.
-
Method Summary
-
Method Details
-
origin
- Returns:
- the origin the user signed in on
-
isValid
public boolean isValid()- Returns:
trueif the session has neither expired nor been ended
-
getUser
Looks up the user of this session- Returns:
- the
PanelUser;nullif the user no longer exists or is disabled
-