$logoutSecs $logoutSecs : int Holds the time in seconds until a user is logged out (when being inactive). Type normal
__construct() __construct() : mixed Starts a new session or continues the current session. Returns mixed
isLoggedIn() isLoggedIn() : bool Checks if the current session is logged in. Returns bool — True if the session is logged in, else false.
generateNonce() generateNonce() : string Generates and returns the nonce for logins. Returns string — The nonce for logins.
login() login(string $userId) : void Logs the current session in. Parameters string $userId The id of the user who wants to log in.