The `illuminate/support\Facades\Auth` facade provides a convenient way to access the authentication services provided by Laravel. One of the methods available is `logout()`, which logs the user out of the current session.
Example:
use Illuminate\Support\Facades\Auth;
Auth::logout();
This code logs out the currently authenticated user.
Package library: Laravel.
PHP Illuminate\Support\Facades Auth::logout - 30 examples found. These are the top rated real world PHP examples of Illuminate\Support\Facades\Auth::logout extracted from open source projects. You can rate examples to help us improve the quality of examples.