class Illuminate / Auth / Middleware / AuthenticateWithBasicAuth

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