tymondesigns / jwt-auth

🔐 JSON Web Token Authentication for Laravel & Lumen

Home Page:https://jwt-auth.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How does the jwt invlalidating works ?

elhannaoui-ayoub opened this issue · comments

Please how can you invalidate a token to log out a user ?
I saw yout documentation i found that you can invalidate a token ( auth()->invalidate() ) or blacklist it without the need of a database , how can that be possible ?

i asked the same question too, there is no database to black list the tokens, maybe he has some type of serialized array that he stores the black listed tokens ? idk

and its documentation is not complete i don't think this package is reliable