Logging Out: Invalidating Sessions On Other Devices

'web' => [
    // ...
    \Illuminate\Session\Middleware\AuthenticateSession::class,
    // ...
],
Use Illuminate\Support\Facades\Auth;

Auth::logoutOtherDevices($password);

LogoutOtherDevices method

Requires the user to provide their current password, which your application should accept through an input form.

Logging Out: Invalidating Sessions On Other Devices — Structure map

Clickable & Draggable!

Logging Out: Invalidating Sessions On Other Devices — Related pages: