AuthenticateWithBasicAuth

class AuthenticateWithBasicAuth (View source)

Properties

protected Factory $auth The guard factory instance.

Methods

void __construct(Factory $auth)

Create a new middleware instance.

mixed handle(Request $request, Closure $next, string|null $guard = null, string|null $field = null)

Handle an incoming request.

Details

void __construct(Factory $auth)

Create a new middleware instance.

Parameters

Factory $auth

Return Value

void

mixed handle(Request $request, Closure $next, string|null $guard = null, string|null $field = null)

Handle an incoming request.

Parameters

Request $request
Closure $next
string|null $guard
string|null $field

Return Value

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Auth/Middleware/AuthenticateWithBasicAuth.html