witoldsz / angular-http-auth

MIT License
2.38k stars 417 forks source link

Enable JSONP monitoring. #44

Closed adurieux closed 10 years ago

adurieux commented 10 years ago

Allows to trigger an event:auth-loginRequired when the server returns a statusCode field with value 401 in a JSON-P response.

witoldsz commented 10 years ago

Copy'n paste? Come on.