Socket
Book a DemoInstallSign in
Socket

@authx/tools

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@authx/tools

This package provides basic tools for interacting with an AuthX deployment.

latest
Source
npmnpm
Version
3.1.0-alpha.56
Version published
Maintainers
2
Created
Source

AuthX Strategy – Password

This package provides basic tools for interacting with an AuthX deployment.

CLI

This package provides and authx command-line interface which can be accessed as yarn authx <action> or npx authx <action>.

Actions

schema

Create the database schema.

bootstrap

Bootstrap a database by creating an initial root user and admin role, returning the user ID and password as JSON. Use the above environment variables to configure the postgres connection.

Pass the --schema argument to also create the database schema.

fixture

Add test fixtures to the database. Use the above environment variables to configure the postgres connection.

Pass the --schema argument to also create the database schema.

Environment Variables

When relevant, the following environment variables can be set to modify the CLI's behavior:

  • PGHOST: postgres host
  • PGPORT: postgres port
  • PGUSER: postgres user
  • PGPASSWORD: postgres password

Programmatic Access

This package also exports its actions for use in other node projects. See the source code for more details.

Keywords

oauth

FAQs

Package last updated on 06 Jun 2024

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