Reads the JWT session cookie from the request and returns the authenticated user profile including session fields such as totpEnabled. Returns null when the token is missing/invalid or the user no longer exists.
totpEnabled
The incoming request object.
The authenticated session user profile or null.
Reads the JWT session cookie from the request and returns the authenticated user profile including session fields such as
totpEnabled. Returns null when the token is missing/invalid or the user no longer exists.