mirror of
https://github.com/scratchfoundation/scratch-auth.git
synced 2024-11-21 10:28:17 -05:00
Authentication utilities for Scratch
lib | ||
test | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.travis.yml | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md | ||
TRADEMARK |
scratch-auth
Authentication utilities for Scratch
Installation
npm install scratch-auth
Usage
const Auth = require('scratch-auth');
const a = new Auth('test', 'secret');
const unsigned = a.unsign('value:zyBNJHpGyml3X-RhCx0mbjLFzPs');
const unpacked = a.unpack(unsigned);
Donate
We provide Scratch free of charge, and want to keep it that way! Please consider making a donation to support our continued engineering, design, community, and resource development efforts. Donations of any size are appreciated. Thank you!