{"library":"passport-strategy","type":"library","category":null,"description":"The `passport-strategy` package provides an abstract `Strategy` class that serves as the foundational interface for implementing concrete authentication strategies within the Passport.js ecosystem. It defines the core API, including the `authenticate()` method and helper functions like `success()`, `fail()`, `redirect()`, `pass()`, and `error()`, which custom strategies must implement or utilize to manage the authentication flow. While the core `passport` package is actively maintained (latest version ~0.7.0 as of late 2023), the `passport-strategy` package itself, version 1.0.0, has not seen updates since 2013, making it a very stable but effectively unmaintained base. Developers primarily interact with this module by extending its `Strategy` class to create custom authentication logic (e.g., `passport-local`, `passport-github`). Its key differentiator is its role as the common contract for all Passport strategies, enabling a highly modular and extensible authentication system for Node.js applications.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","passport","strategy"],"install":[{"cmd":"npm install passport-strategy","imports":["import { Strategy } from 'passport-strategy';","const Strategy = require('passport-strategy');"]},{"cmd":"yarn add passport-strategy","imports":[]},{"cmd":"pnpm add passport-strategy","imports":[]}],"homepage":null,"github":"https://github.com/jaredhanson/passport-strategy","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/passport-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-strategy/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}