Authenticate
class Authenticate (View source)
Properties
protected Factory | $auth | The authentication factory instance. |
Methods
void | __construct(Factory $auth) Create a new middleware instance. | |
mixed | handle(Request $request, Closure $next, string[] $guards) Handle an incoming request. | |
void | authenticate(array $guards) Determine if the user is logged in to any of the given guards. |
Details
void __construct(Factory $auth)
Create a new middleware instance.
protected void authenticate(array $guards)
Determine if the user is logged in to any of the given guards.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Auth/Middleware/Authenticate.html