MrJoes/tornadio2 — Issue #18: The best way to implement authentication
Author: Alerion
Created: 2012-01-16 08:26:01+00:00
State: open

Maybe you thought about authentication or have made it in projects. I'd be grateful for some hints about authentication in Tornadio2.

The most easy way I see is to check request in `tornadio2.router.HandshakeHandler.get` and prevent session create for inappropriate users. So for any try to send messages not authenticated user will receive `HTTPError(401, 'Invalid session')`.