class Illuminate / Auth / Middleware / AuthenticateWithBasicAuth
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

AuthenticateWithBasicAuth

Properties

protected

$auth Factory

The guard factory instance.

Default: null

Methods

public

__construct ( Factory $auth ) : void

Create a new middleware instance.

Parameters

public static

using ( $guard , $field ) : string

Specify the guard and field for the middleware.

Parameters

  • $guard string|null
  • $field string|null
public

handle ( $request , Closure $next , $guard , $field ) : mixed

Handle an incoming request.

Parameters