amkirwan/ember-oauth2 — pull request #9 by theodorton (2014-07-16 10:55:14+00:00)
Title: Make authorize function return a Ember.RSVP.Promise

The promise will either resolve or reject based on the authorization attempt.

Should be backwards compatible as the `authorize` function didn't have any return value before, but for coffeescript users, there may be some issues with implicit returns when the function is called from a `model`-hook in an `Ember.Route`.