Socket
Socket
Sign inDemoInstall

backside-userpass-auth

Package Overview
Dependencies
7
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    backside-userpass-auth

User/Password auth module for backside, with tokens


Version published
Weekly downloads
11
increased by450%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

backside-ruletree-security

This module implements a security mechanism for backside that emulates the firebase security mechanism

Configuration

new UserPassAuth(persistence, [opts])

Where persistence is an instance of BacksidePersistence and opts is and optional options array with the following fields:

{
  logger: an instance of the logger,
  userPath: the path that users will be stored under in the private store
  saltIterations: the number of iterations of the salt
  expire: the number of seconds until the token expires
  secret: the secret to use to sign tokens
}

Set secret via environemt variable

The secret used to sign tokens can be set via the environemt variable RULE_TREE_SECRET

Keywords

FAQs

Last updated on 13 Jun 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc