mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Implemented oauth session revocation notification.
Reworked webhooks notifications constructors
This commit is contained in:
12
common/notifications/NotificationInterface.php
Normal file
12
common/notifications/NotificationInterface.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace common\notifications;
|
||||
|
||||
interface NotificationInterface {
|
||||
|
||||
public static function getType(): string;
|
||||
|
||||
public function getPayloads(): array;
|
||||
|
||||
}
|
Reference in New Issue
Block a user