pierrocknroll/lavarel-passport-revoke-users-command

There is no license information available for the latest version (dev-master) of this package.

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

dev-master 2019-09-16 09:56 UTC

This package is not auto-updated.

Last update: 2024-05-26 03:43:32 UTC


README

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 jacky@site.com