jobilla/passport-revoke
Composer 安装命令:
composer require jobilla/passport-revoke
包简介
Revoke Laravel Passport tokens with a simple Artisan command
README 文档
README
This package provides a single Artisan command for revoking a set of active Laravel Passport tokens, to ease mass revocations. This can be useful if you add or remove claims from the JWT and need every user to have a newly issued token.
Installation
Install the package using Composer.
composer require jobilla/passport-revoke
Usage
Not passing any arguments to the command will revoke all active tokens:
php artisan passport:revoke
You may pass a token ID as the argument to revoke a single token:
php artisan passport:revoke 3
Or you may pass a --user option to revoke all active tokens for a given
user.
php artisan passport:revoke --user=27
统计信息
- 总下载量: 6.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-01-23