{"library":"angular-http-auth","type":"library","category":null,"description":"angular-http-auth is an AngularJS module providing an HTTP interceptor to handle 401 (Unauthorized) and 403 (Forbidden) responses, facilitating robust authentication and authorization flows within AngularJS 1.x applications. It automatically buffers failed requests upon receiving a 401, broadcasts an `event:auth-loginRequired` event to trigger a login UI, and re-submits buffered requests once `authService.loginConfirmed()` is invoked. For 403 responses, it broadcasts `event:auth-forbidden`. The current stable version is 1.5.0, released in 2016. This package is now effectively abandoned due to its strict dependency on AngularJS 1.x, which reached End-of-Life on December 31, 2021. Its primary differentiator was its opinionated, event-driven approach to authentication challenges, deeply integrated into the AngularJS `$http` service.","language":"javascript","status":"abandoned","version":"1.5.0","tags":["javascript","angular","auth"],"last_verified":"Wed May 27","install":[{"cmd":"npm install angular-http-auth","imports":["angular.module('myApp', ['http-auth-interceptor'])","function MyController($scope, authService) { /* ... */ }","require('angular-http-auth');"]},{"cmd":"yarn add angular-http-auth","imports":[]},{"cmd":"pnpm add angular-http-auth","imports":[]}],"homepage":null,"github":"https://github.com/witoldsz/angular-http-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/angular-http-auth","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/angular-http-auth/compatibility"}}