@andreabiagini5/applicazioni-e-servizi-web-project - v1.1.3
    Preparing search index...

    Function authenticateTokenSocket

    • Authentication middleware for socket.io. Those sockets that use this middleware won't receive the request unless the authorization header is properly configured with a valid JWT token.

      Parameters

      • socket: Socket

        the socket object

      • next: NextFunction

        the next middleware function

      Returns void