Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

Latest commit

 

History

History

emeralt-auth-inmemory

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@emeralt/auth-inmemory

Emeralt auth plugin to store users in memory

Install

Using npm:

npm install @emeralt/auth-inmemory

or using yarn:

yarn add @emeralt/auth-inmemory

Usage

new EmeraltAuthInMemory({
  users: [{
    username: 'emeralt',
    password: 'emeralt',
    admin: true,
  }]
})