# passport-pass

> passport strategy just call pass

Latest version **0.0.2** (published 2015-09-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install passport-pass
pnpm add passport-pass
yarn add passport-pass
bun add passport-pass
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2015-09-24 |
| First published | 2015-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | seokgyo |
| Maintainers | seokgyo |
| Keywords | passport, strategy |

## Links

- npm: https://www.npmjs.com/package/passport-pass
- Repository: https://seokgyo@github.com/seokgyo/passport-pass
- Homepage: https://github.com/seokgyo/passport-pass#readme
- Issues: https://github.com/seokgyo/passport-pass/issues
- npm.io page: https://npm.io/package/passport-pass

## Dependencies (1)

- [passport-strategy](https://npm.io/package/passport-strategy.md) ^1.0.0

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2015-09-24
- 0.0.1 — 2015-09-23

## README

# passport-pass
 passport strategy just calling pass().
 
# installation
 
    npm install passport-pass --save
    
# usage
 Using this alone does nothing. But by using with other strategies you can easyly create 'authentiated or not' middleware. This is especially useful when creating a server not using session strategy like api sever.
 
    const PassStrategy = require('passport-pass');
    passport.use(new PassStrategy());
    
    app.get('api/posts/:postid', 
      passport.authenticate(['bearer' 'pass'], { session: false }),
      function(req, res) {
        if (req.isAuthenticated()) {
          // do some more stuff
          res.json(post);
        } else {
          res.json(post);
        }
      });

---
_Source: https://npm.io/package/passport-pass · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
