AuthenticateSession
class AuthenticateSession implements AuthenticatesSessions (View source)
Properties
protected Factory | $auth | The authentication factory implementation. |
Methods
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. |
Details
void __construct(Factory $auth)
Create a new middleware instance.
protected void storePasswordHashInSession(Request $request)
Store the user's current password hash in the session.
protected void logout(Request $request)
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/9.x/Illuminate/Session/Middleware/AuthenticateSession.html