aladinjs
v1.0.10
Published
The Aladin Javascript library for authentication, identity, and storage.
Downloads
85
Maintainers
Readme
aladinjs
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:
- create an authentication request
- create an authentication response
The profiles/identity portion of this library can be used to:
- transform a JSON profile into cryptographically-signed tokens
- recover a JSON profile from signed tokens
- validate signed profile tokens
The storage portion of this library can be used to:
- 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").