{"library":"passport-http-header-strategy","type":"library","category":null,"description":"The `passport-http-header-strategy` package provides a flexible HTTP header-based authentication strategy for the Passport.js framework. It enables developers to authenticate requests by extracting a token from a custom HTTP header (e.g., `X-API-Key`), or optionally from a request body or query parameter, rather than being limited to the standard `Authorization: Bearer` scheme. Currently at version 1.1.0, the package has not seen significant updates in several years, suggesting a stable but largely unmaintained status. It integrates seamlessly into existing Passport-based applications, allowing for stateless (session-less) authentication, which is common for API-driven services. Its key differentiator is the configurability of the header name and parameter name, offering more customization than some other token-based strategies.","language":"javascript","status":"maintenance","version":"1.1.0","tags":["javascript","passport","header","auth","authn","authentication","authz","authorization","http","typescript"],"install":[{"cmd":"npm install passport-http-header-strategy","imports":["import { Strategy } from 'passport-http-header-strategy';","import passport from 'passport';","type VerifyCallback = (req: Request, token: string, done: (error: any, user?: any, info?: any) => void) => void;"]},{"cmd":"yarn add passport-http-header-strategy","imports":[]},{"cmd":"pnpm add passport-http-header-strategy","imports":[]}],"homepage":null,"github":"https://github.com/FengYuHe/passport-http-header-strategy","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/passport-http-header-strategy","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/passport-http-header-strategy/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Wed Jul 22","install_tag":null}}