AuthenticateSession
in package
Table of Contents
- $auth : Factory
- The authentication factory implementation.
- __construct() : void
- Create a new middleware instance.
- handle() : mixed
- Handle an incoming request.
- logout() : void
- Log the user out of the application.
- storePasswordHashInSession() : void
- Store the user's current password hash in the session.
Properties
$auth
The authentication factory implementation.
protected
Factory
$auth
Methods
__construct()
Create a new middleware instance.
public
__construct(Factory $auth) : void
Parameters
- $auth : Factory
Return values
void —handle()
Handle an incoming request.
public
handle(Request $request, Closure $next) : mixed
Parameters
- $request : Request
- $next : Closure
Return values
mixed —logout()
Log the user out of the application.
protected
logout(Request $request) : void
Parameters
- $request : Request
Tags
Return values
void —storePasswordHashInSession()
Store the user's current password hash in the session.
protected
storePasswordHashInSession(Request $request) : void
Parameters
- $request : Request