Torii

Vestorly FORK ME ON GITHUB /.actions /.container /.header Torii Adding social login to your Ember.js app just got a whole lot simpler. /.intro-entry /.intro Bring your Ember app's sign-in into 2014. FORK ME ON GITHUB See a demo /.actions /.container /.callout Torii is a set of clean abstractions for authentication in Ember.js applications. Users gain authorization to a resource with a Torii provider. Providers are wrappers for the user experience of authenticating to a service and getting an access token or similar authorization. For example, the Torii facebook-oauth2 provider will open a popup for a user to sign into Facebook, which then resolves a promise with the OAuth 2 access token to communicate with Facebook. Most apps already authenticate users. Torii adapters abstract opening a user session into three actions: opening, fetching, and closing. J...

Linked on 2014-06-18 07:31:04 | Similar Links