new funcionality
This commit is contained in:
15
app/Events/TokenRevoked.php
Normal file
15
app/Events/TokenRevoked.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events;
|
||||
|
||||
use Illuminate\Foundation\Events\Dispatchable;
|
||||
use Laravel\Passport\Token;
|
||||
|
||||
class TokenRevoked
|
||||
{
|
||||
use Dispatchable;
|
||||
|
||||
public function __construct(public Token $token)
|
||||
{
|
||||
}
|
||||
}
|
||||
15
app/Events/UserDeactivated.php
Normal file
15
app/Events/UserDeactivated.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Foundation\Events\Dispatchable;
|
||||
|
||||
class UserDeactivated
|
||||
{
|
||||
use Dispatchable;
|
||||
|
||||
public function __construct(public User $user)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user