Skip to main content
Version: 57.2.0

AuthenticatableSocket

The subset of a Socket.io socket the validators need. Lets tests pass a stub.

Extends

Properties

data?

optional data?: SocketDataBag

Inherited from

SocketWithDecodedToken.data


decodedToken?

optional decodedToken?: DecodedRealtimeToken

Inherited from

SocketWithDecodedToken.decodedToken


encodedToken?

optional encodedToken?: string


handshake

handshake: object

auth

auth: object

Index Signature

[key: string]: unknown

auth.token?

optional token?: string