Implement blacklist handling by adding ListBlacklist and BlacklistEntity request methods in Method.php
This commit is contained in:
parent
ae672d7d38
commit
b895f51228
1 changed files with 4 additions and 2 deletions
|
@ -8,6 +8,8 @@
|
||||||
use FederationServer\Methods\Attachments\UploadAttachment;
|
use FederationServer\Methods\Attachments\UploadAttachment;
|
||||||
use FederationServer\Methods\Audit\ListAuditLogs;
|
use FederationServer\Methods\Audit\ListAuditLogs;
|
||||||
use FederationServer\Methods\Audit\ViewAuditEntry;
|
use FederationServer\Methods\Audit\ViewAuditEntry;
|
||||||
|
use FederationServer\Methods\Blacklist\BlacklistEntity;
|
||||||
|
use FederationServer\Methods\Blacklist\ListBlacklist;
|
||||||
use FederationServer\Methods\Entities\DeleteEntity;
|
use FederationServer\Methods\Entities\DeleteEntity;
|
||||||
use FederationServer\Methods\Entities\GetEntityRecord;
|
use FederationServer\Methods\Entities\GetEntityRecord;
|
||||||
use FederationServer\Methods\Entities\ListEntities;
|
use FederationServer\Methods\Entities\ListEntities;
|
||||||
|
@ -189,10 +191,10 @@
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case self::LIST_BLACKLIST:
|
case self::LIST_BLACKLIST:
|
||||||
throw new \Exception('To be implemented');
|
ListBlacklist::handleRequest();
|
||||||
break;
|
break;
|
||||||
case self::BLACKLIST_ENTITY:
|
case self::BLACKLIST_ENTITY:
|
||||||
throw new \Exception('To be implemented');
|
BlacklistEntity::handleRequest();
|
||||||
break;
|
break;
|
||||||
case self::DELETE_BLACKLIST:
|
case self::DELETE_BLACKLIST:
|
||||||
throw new \Exception('To be implemented');
|
throw new \Exception('To be implemented');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue