Closes the WebSocket connection if it is open and returns an “unauthorized” reason.
# File actioncable/lib/action_cable/connection/authorization.rb, line 9defreject_unauthorized_connectionlogger.error"An unauthorized connection attempt was rejected"raiseUnauthorizedErrorend