class Illuminate / Session / Middleware / AuthenticateSession
You are viewing an older version of the documentation. For the latest, please visit master documentation.

AuthenticateSession

Properties

protected

$auth Factory

The authentication factory implementation.

Default: null

Methods

public

__construct ( Factory $auth ) : void

Create a new middleware instance.

Parameters

public

handle ( $request , Closure $next ) : mixed

Handle an incoming request.

Parameters

protected

storePasswordHashInSession ( $request ) : void

Store the user's current password hash in the session.

Parameters

protected

logout ( $request ) : void

Log the user out of the application.

Parameters

protected

guard ( ) : Factory |Guard

Get the guard instance that should be used by the middleware.