Refactored SubscriberInterface

This commit is contained in:
2024-03-14 00:45:26 +01:00
parent 17c683d9e8
commit e61d0abb5d
5 changed files with 41 additions and 28 deletions

View File

@ -68,7 +68,7 @@ class WsSubscriber implements SubscriberInterface, EventEmitterInterface
], JSON_UNESCAPED_SLASHES));
}
public function isAuthorized(): bool
public function isAuthenticated(): bool
{
return $this->token && $this->token->isValid();
}