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

Get All active tokens

iamkhusainov7 opened this issue · comments

Subject of the issue

I have gone through the documentation but I haven't found a method that returns all active tokens. I have a use case, where I need to revoke the previous token or all active tokens when the user logs in using a new device. I know that your library is caching the token. But it would be really useful to have such method.