trusty-js

0.0.1 • Public • Published

Trusty JS Library

This is a JavaScript client library for the Trusty API.

It lets you create and authenticate users and is a building block for constructing the UI for signups, password recovery, login and logout.

Installation

# Install with npm
npm install trusty-js

# Install with yarn
yarn add trusty-js

# Install with pnpm
pnpm install trusty-js

Usage

import Trusty from "trusty-js";

// Instantiate the Trusty auth client with an optional configuration
auth = new Trusty({
    APIUrl: "https://<your_trusty_domain_name>",
    audience: "my-web-app",
    setCookie: false,
});

License

This project is open-sourced software licensed under the Apache License 2.0.

Copyrights in this project are retained by their contributors.

See the license file for more information.


🤫 Psst! If you like my work you can support me via GitHub sponsors.

Readme

Keywords

Package Sidebar

Install

npm i trusty-js

Weekly Downloads

1

Version

0.0.1

License

Apache-2.0

Unpacked Size

13.6 kB

Total Files

6

Last publish

Collaborators

  • riipandi