add auth_token verification to websocket

This commit is contained in:
Wayne Witzel III
2016-10-24 19:42:53 -04:00
parent 04bfdf8617
commit ced3c41df9
2 changed files with 45 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ from channels.routing import route
channel_routing = [
route("websocket.connect", "awx.main.consumers.ws_connect", path=r'^/websocket/$'),
route("websocket.disconnect", "awx.main.consumers.ws_disconnect", path=r'^/websocket/$'),
route("websocket.receive", "awx.main.consumers.ws_receive", path=r'^/websocket/$'),
]