AuthenticateSession
class AuthenticateSession implements AuthenticatesSessions
Methods
Get the session guards declared by the application's sanctum guards.
Store the user's current password hash in the session.
Validate the password hash against the stored value.
Validate the remembered-login password hash against the guard's current user.
Details
at line 21
__construct(Factory $auth, Repository $config)
Create a new middleware instance.
at line 99
protected array
sanctumSessionGuards()
Get the session guards declared by the application's sanctum guards.
The union across every sanctum-driver guard entry: password-hash invalidation applies to any session guard participating in stateful sanctum authentication anywhere in the application.
at line 126
protected void
storePasswordHashInSession(Request $request, string $guard, SessionGuard $guardInstance)
Store the user's current password hash in the session.
at line 139
protected bool
validatePasswordHash(SessionGuard $guard, string|null $passwordHash, mixed $storedValue)
Validate the password hash against the stored value.
Only HMAC artifacts are valid; Hypervel has no released raw-hash session artifacts to accept.
at line 148
protected bool
validateRecallerPasswordHash(Request $request, SessionGuard $guard)
Validate the remembered-login password hash against the guard's current user.