# seneca-local-auth

> local auth plugin for seneca-auth

Latest version **0.1.2** (published 2016-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install seneca-local-auth
pnpm add seneca-local-auth
yarn add seneca-local-auth
bun add seneca-local-auth
```

## 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.1.2 |
| Published | 2016-02-22 |
| First published | 2015-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+9 in 1 direct dependencies) |
| Install scripts | no |
| Author | Mircea Alexandru |
| Maintainers | malex, rjrodger |
| Keywords | seneca, auth, plugin |

## Links

- npm: https://www.npmjs.com/package/seneca-local-auth
- Repository: https://github.com/mirceaalexandru/seneca-local-auth
- Issues: https://github.com/mirceaalexandru/seneca-local-auth/issues
- npm.io page: https://npm.io/package/seneca-local-auth

## Dependencies (3)

- [eraro](https://npm.io/package/eraro.md) 0.4.1
- [lodash](https://npm.io/package/lodash.md) 4.0.0
- [passport-local](https://npm.io/package/passport-local.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.1.2 (latest) — 2016-02-22
- 0.1.1 — 2016-02-07
- 0.1.0 — 2016-01-28
- 0.0.3 — 2015-07-22
- 0.0.2 — 2015-07-17
- 0.0.1 — 2015-07-17

## README

![Seneca](http://senecajs.org/files/assets/seneca-logo.png)
> A [Seneca.js](https://github.com/senecajs/) a seneca-auth plugin

# seneca-local-auth

[![npm version][npm-badge]][npm-url]
[![Build Status][travis-badge]][travis-url]
[![Dependency Status][david-badge]][david-url]
[![Gitter chat][gitter-badge]][gitter-url]

Lead Maintainer: [Mircea Alexandru](https://github.com/mirceaalexandru)

This plugin is used by [seneca-auth](https://www.npmjs.com/package/seneca-auth) for authenticating via local strategy.
It uses [PassportJS](http://passportjs.org). The [seneca-auth](https://www.npmjs.com/package/seneca-auth) is the
authentication plugin used by [Seneca](http://senecajs.org) toolkit.

For a gentle introduction to Seneca itself, see the [senecajs.org](http://senecajs.org) site.

If you're using this plugin module, feel to contact on twitter if you have any questions! :) [@Alexandru_M](https://twitter.com/Alexandru_M)

- __Version:__ 0.1.0
- __Tested on:__ Seneca 0.8, 0.9
- __Node:__ 4, 5
- __License:__ [MIT][]


## Install

```sh
npm install seneca-local-auth
```

## Using Local Auth

When using seneca-auth the local auth must be initialized using:

```
seneca.use('auth')
seneca.use('local-auth', options)
```

## Test
To run tests, simply use npm:

```sh
npm run test
```

## Contributing
The [Senecajs org](https://github.com/senecajs/) encourage open participation. If you feel you can help in any way, be it with
documentation, examples, extra testing, or new features please get in touch.

## License
Copyright Mircea Alexandru and other contributors 2015, Licensed under [MIT][].


[npm-badge]: https://badge.fury.io/js/seneca-local-auth.svg
[npm-url]: https://badge.fury.io/js/seneca-local-auth
[david-badge]: https://david-dm.org/senecajs/seneca-local-auth.svg
[david-url]: https://david-dm.org/senecajs/seneca-local-auth
[gitter-badge]: https://badges.gitter.im/senecajs/seneca.png
[gitter-url]: https://gitter.im/senecajs/seneca
[travis-badge]: https://travis-ci.org/senecajs/seneca-local-auth.svg
[travis-url]: https://travis-ci.org/senecajs/seneca-local-auth

[MIT]: ./LICENSE

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