0.0.1 • Published 1 year ago

trusty-js v0.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

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.

0.0.1

1 year ago