An open API service indexing awesome lists of open source software.

https://github.com/jellyfishsolutions/lynx-auth

Authentication module for the Lynx framework
https://github.com/jellyfishsolutions/lynx-auth

authentication lynx lynx-framework node

Last synced: 4 months ago
JSON representation

Authentication module for the Lynx framework

Awesome Lists containing this project

README

          

# lynx-auth

Authentication module for the Lynx framework

## Installation

```
npm install lynx-auth --save
```

## Usage

In your main app file:

```
import AuthModule from "lynx-auth";
...

let myConfig = new ConfigBuilder(__dirname).build();

const app = new App(myConfig, [new AuthModule()]);
app.startServer(port);
```

## Customization

You can override the settings of the `AuthController` using the `AuthModule.settings`.
Please check the `src/views/auth` and the `src/locale` folders to create further customizations.