1.3.0 • Published 4 years ago

@bridgerakol/authenticate v1.3.0

Weekly downloads
15
License
ISC
Repository
-
Last release
4 years ago

#bridgerakol #authenticate

Quick Start

Install the authenticate module

$ npm install @bridgerakol/authenticate

Import the module

const authenticate = require("@bridgerakol/authenticate");
let auth = new authenticate.Authenticate({
    host: <Database Host>,
    port: <Database PORT>,
    user: <USERNAME>,
    password: <PASSWORD>,
    database: <NAME>    
});

Get the login token:

auth.login({
    email: '',
    password: '',
    jwt_secret: '',
    jwt_token_life: 3600
}).then(console.log)

List of Functionality

  • verify
  • login
  • get_new_token
  • forget_password
  • reset_password
1.3.0

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.0

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.1

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago