josephg/ShareJS — pull request #128 by daredevildave (2012-09-21 18:13:04+00:00)
Title: Add (optional) authentication step when connecting to share servers

share.open() now accepts an object instead of a origin string.

The object can contains an 'authentication' property which will be attached the user agent. Use this to store an identifier for the user e.g. OAuth token and check for valid value in server's auth() function.

See https://github.com/daredevildave/authshare for example usage