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