aladinjs
Version:
The Aladin Javascript library for authentication, identity, and storage.
33 lines (19 loc) • 926 B
Markdown
# aladinjs
- [Installation](#installation)
- [About](#about)
## Installation
```
$ npm install aladinjs
```
## About
Aladin JS is a library for profiles/identity, authentication, and storage.
The authentication portion of this library can be used to:
1. create an authentication request
2. create an authentication response
The profiles/identity portion of this library can be used to:
1. transform a JSON profile into cryptographically-signed tokens
2. recover a JSON profile from signed tokens
3. validate signed profile tokens
The storage portion of this library can be used to:
1. store and retrieve your app's data in storage that is controlled by the user
_Note: this document uses ES6 in its examples but it is compiled down to Javascript (ES5) and is perfectly compatible with it. If you're using the latter, just make a few adjustments to the examples below (e.g. use "let" instead of "var")._