Documentation

Authenticate

Table of Contents

$auth  : Factory
The authentication guard factory instance.
__construct()  : void
Create a new middleware instance.
handle()  : mixed
Handle an incoming request.

Properties

$auth

The authentication guard factory instance.

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[, string|null $guard = null ]) : mixed
Parameters
$request : Request
$next : Closure
$guard : string|null = null
Return values
mixed

Search results