vendor/gos/web-socket-bundle/src/Client/Auth/WebsocketAuthenticationProviderInterface.php line 8

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Gos\Bundle\WebSocketBundle\Client\Auth;
  3. use Ratchet\ConnectionInterface;
  4. use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
  5. trigger_deprecation('gos/web-socket-bundle''3.11''The "%s" interface is deprecated and will be removed in 4.0, use the new websocket authentication API instead.'WebsocketAuthenticationProviderInterface::class);
  6. /**
  7.  * @deprecated to be removed in 4.0, use the new websocket authentication API instead
  8.  */
  9. interface WebsocketAuthenticationProviderInterface
  10. {
  11.     public function authenticate(ConnectionInterface $conn): TokenInterface;
  12. }