class WebSocketAuthenticationProvider implements WebSocketAuthenticationProviderInterface

Class WebSocketAuthenticationProvider

Properties

protected TokenStorage $securityContext
protected array $firewalls
protected LoggerInterface $logger
protected ClientStorageInterface $clientStorage

Methods

__construct(TokenStorage $securityContext, array $firewalls = array(), ClientStorageInterface $clientStorage = null, LoggerInterface $logger = null)

WebSocketAuthenticationProvider constructor.

TokenInterface
getToken(ConnectionInterface $connection)

No description

TokenInterface
authenticate(ConnectionInterface $conn)

No description

Details

at line 55
__construct(TokenStorage $securityContext, array $firewalls = array(), ClientStorageInterface $clientStorage = null, LoggerInterface $logger = null)

WebSocketAuthenticationProvider constructor.

Parameters

TokenStorage $securityContext
array $firewalls
ClientStorageInterface $clientStorage
LoggerInterface $logger

at line 68
protected TokenInterface getToken(ConnectionInterface $connection)

Parameters

ConnectionInterface $connection

Return Value

TokenInterface

at line 98
TokenInterface authenticate(ConnectionInterface $conn)

Parameters

ConnectionInterface $conn

Return Value

TokenInterface

Exceptions

StorageException
Exception