Laravel
Release notes
Upgrade Guide
Contribution Guide
class
Illuminate
/
Auth
/
Middleware
/
AuthenticateWithBasicAuth
You are viewing an older version of the documentation. For the latest, please visit
master documentation
.
AuthenticateWithBasicAuth
#
Properties
protected
#
$auth
Factory
The guard factory instance.
Default: null
#
Methods
public
#
__construct
(
Factory
$auth
)
:
void
Create a new middleware instance.
Parameters
$auth
Factory
public
#
handle
(
$request
,
Closure
$next
,
$guard
,
$field
)
:
mixed
Handle an incoming request.
Parameters
$request
Request
$next
Closure
$guard
string
|
null
$field
string
|
null
On this page
On this page
Properties
auth
Methods
__construct
handle