class UseGuard

Methods

__construct(Factory $auth)

Create a new middleware instance.

Response
handle(Request $request, Closure $next, string $guard)

Select the guard that should be used for the current request.

Details

at line 17
__construct(Factory $auth)

Create a new middleware instance.

Parameters

Factory $auth

at line 25
Response handle(Request $request, Closure $next, string $guard)

Select the guard that should be used for the current request.

Parameters

Request $request
Closure $next
string $guard

Return Value

Response