Bristol SU Support Package
Public Member Functions | Private Attributes | List of all members
BristolSU\Support\Authorization\Middleware\LogoutOfExtras Class Reference

Public Member Functions

 __construct (Authentication $authentication)
 
 handle (Request $request, \Closure $next)
 

Private Attributes

 $authentication
 

Detailed Description

Log out of the user, group and role

Definition at line 13 of file LogoutOfExtras.php.

Constructor & Destructor Documentation

◆ __construct()

BristolSU\Support\Authorization\Middleware\LogoutOfExtras::__construct ( Authentication  $authentication)

LogoutOfExtras constructor.

Parameters
Authentication$authentication

Definition at line 28 of file LogoutOfExtras.php.

References BristolSU\Support\Authorization\Middleware\LogoutOfExtras\$authentication.

Member Function Documentation

◆ handle()

BristolSU\Support\Authorization\Middleware\LogoutOfExtras::handle ( Request  $request,
\Closure  $next 
)

Log out of user, group and role

Parameters
Request$request
\Closure$next
Returns
mixed

Definition at line 40 of file LogoutOfExtras.php.

Member Data Documentation

◆ $authentication

BristolSU\Support\Authorization\Middleware\LogoutOfExtras::$authentication
private

The documentation for this class was generated from the following file: