indexzero/node-asana-api — pull request #8 by productiveme (2013-04-17 10:31:05+00:00)
Title: Allowing to createClient with accessToken (supporting new Asana OAuth API)

The createClient method is extended to check if a token was supplied in the options parameter.

If it was, then authenticate with the new Asana OAuth authorization: Bearer: $TOKEN

If not, revert to using the options.apiKey method