class AuthenticateSession (View source)
protected Factory | $auth | The authentication factory implementation. |
void | __construct(Factory $auth) Create a new middleware instance. | |
mixed | handle(Request $request, Closure $next) Handle an incoming request. | |
void | storePasswordHashInSession(Request $request) Store the user's current password hash in the session. | |
void | logout(Request $request) Log the user out of the application. | |
Factory|Guard | guard() Get the guard instance that should be used by the middleware. |
Create a new middleware instance.
Store the user's current password hash in the session.
Log the user out of the application.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Session/Middleware/AuthenticateSession.html