currentUser<User> function
Returns the current user, or null if not authenticated.
It is the same object returned by Authenticator's authenticate
.
Implementation
User? currentUser<User>(HttpSession session) => session[_attrUser] as User?;