Function webSocketAuthCheck

  • Check if the security context for the current request's web socket is still valid. If not, raise an AuthCheckFailed event. This is meant to be used as a subscriber to WebSocketHealthCheckEvent on the request.

    See

    AuthCheckFailed

    Returns Promise<void>