Skip to main content

check

Function check 

Source
pub async fn check(session: &Session) -> Result<bool, AppError>
Expand description

Whether the current session is authenticated (Laravel’s Auth::check()). Operates on the default ("web") guard; for a named second guard, use check_for instead.