identity-desk-local

0.1.0 • Public • Published

identity-desk-local

Local authenticator for Identity Desk

Installation

$ npm install identiy-desk-local

Usage

const identityDesk = require('identity-desk');
const LocalAuthenticator = require('identity-desk-local');
 
// use it with the default redirects
identityDesk.use('local', new LocalAuthenticator());
 
// or provide your own redirects
identityDesk.use('local', new LocalAuthenticator({
  successRedirect: '/',
  failureRedirect: '/login, // overrides global failure redirect set in Identity Desk instance
}));

Readme

Keywords

none

Package Sidebar

Install

npm i identity-desk-local

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • hifaraz