• Modules
  • Authentication
  • User Password Verifier
View Source Code

User Password Verifier

Add Password for User

Register a new userID/password combination. Errors if user already has a password.

Request

  • userId
    string
  • password
    string
  • algorithm
    optional union of literals

Response

Usage

1. Install the module

2. Use this script

const data = await ctx.modules.user_passwords.add({
  // Request body
});