AuthenticateSession
class AuthenticateSession extends AuthenticateSession
User Session Auth Validation If User Password Changed, Other User In Session are logout 注意项目 :
- 用户登录成功之后需要触发重新计算 password_hash, 如果不清空则二次登录的时候会自动再次退出一次
- 此中间件需要放置在 auth:xx 之后
Properties
protected Factory|SessionGuard | $auth |
Methods
static string
hashKey(string $login_key)
Password hash key
static string
hashGuard(string $guard)
Guard 名称
storePasswordHashInSession($request)
No description
logout($request)
No description
Details
at line 33
handle($request, Closure $next)
No description
at line 76
static string
hashKey(string $login_key)
Password hash key
at line 87
static string
hashGuard(string $guard)
Guard 名称
at line 95
protected
storePasswordHashInSession($request)
No description
at line 111
protected
logout($request)
No description