paulvanbladel / aurelia-auth

:key: Authentication plugin for aurelia
200 stars 74 forks source link

Expose setToken(response, redirect) from Authentication in AuthService #145

Closed martinrebane closed 8 years ago

martinrebane commented 8 years ago

In Satellizer there is a method setToken(token) to set the token from the code. I use it to log in users automatically during signup process. Aurelia version lacked the support, so I added it. I guess other developers might also find it useful, especially when having used Satellizer for Angular.