New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

backside-userpass-auth

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backside-userpass-auth

User/Password auth module for backside, with tokens

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 13 Jun 2014

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc