pub async fn id(session: &Session) -> Result<Option<i64>, AppError>Expand description
The current session’s authenticated user id, if any (Laravel’s
Auth::id()). Operates on the default ("web") guard; for a named
second guard, use id_for instead.