PHP Class Encore\Admin\Middleware\Authenticate

Show file Open project: z-song/laravel-admin

Public Methods

Method Description
handle ( Illuminate\Http\Request $request, Closure $next ) : mixed Handle an incoming request.

Protected Methods

Method Description
shouldPassThrough ( Illuminate\Http\Request $request ) : boolean Determine if the request has a URI that should pass through verification.

Method Details

handle() public method

Handle an incoming request.
public handle ( Illuminate\Http\Request $request, Closure $next ) : mixed
$request Illuminate\Http\Request
$next Closure
return mixed

shouldPassThrough() protected method

Determine if the request has a URI that should pass through verification.
protected shouldPassThrough ( Illuminate\Http\Request $request ) : boolean
$request Illuminate\Http\Request
return boolean