class
Illuminate
/
Auth
/
Middleware
/
Authenticate
Authenticate
Implements
Properties
Methods
public
__construct ( Factory $auth ) : void
Create a new middleware instance.
Parameters
- $auth Factory
public
static
using ( $guard , $others ) : string
Specify the guards for the middleware.
Parameters
- $guard string
- $others string
protected
authenticate ( $request , array $guards ) : void
Determine if the user is logged in to any of the given guards.
Parameters
- $request Request
- $guards array
protected
unauthenticated ( $request , array $guards ) : void
Handle an unauthenticated user.
Parameters
- $request Request
- $guards array