Skip to content

This command revokes access and refresh tokens of given users in Laravel Passport

License

Notifications You must be signed in to change notification settings

pierrocknroll/lavarel-passport-revoke-users-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lavarel-passport-revoke-users-command

This command revokes access and refresh tokens of given users in Laravel Passport

Installation

  • Install the command with composer :
composer require "pierrocknroll/lavarel-passport-revoke-users-command @dev"
  • For Laravel <= 5.4, add the command to your /config/app.php in the providers array :
\Pierrocknroll\LavarelPassportRevokeUsersCommand\ServiceProvider::class

For Laravel >= 5.5, the package is auto discovered.

Usage

You can pass users ids or emails like this :

php artisan passport:revoke 42 12 [email protected]

About

This command revokes access and refresh tokens of given users in Laravel Passport

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages