Refactored SubscriberInterface
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user