googollee/go-socket.io — pull request #12 by bguiz (2014-05-22 09:57:53+00:00)
Title: =BG= add a means for the authorise function to provide values to be set on the session

Adding a means for the `Authorize` method to set value which will be copied to the `Values` of a session object that is created.

While this is general purpose, and can be used for any arbitrary value, it is most useful for setting authorization related information, such as authentication tokens and user IDs.

For example, the web socket can be identified as belonging to a specific user who has authenticated via a standard HTTP request, prior to connecting though the socket.