import DeviseAuthorizer from 'ember-simple-auth/authorizers/devise';
Authorizer that works with the Ruby gem
devise; includes the user's token
and identification from the session data in the
Authorization HTTP header,
Authorization: token="234rtgjneroigne4" email="[email protected]"
As token authentication is not actually part of devise anymore, the server needs to implement some customizations to work with this authenticator - see this gist.
The data that the session currently holds
The callback to call with the authorization data; will receive the header name and header content as arguments.
The identification attribute name.