Skip to content

A simple authentication package for the litterbox system, very similar to JWT.

Notifications You must be signed in to change notification settings

wetcat-studios/lwtauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Litterbox Web Token

A simple token handling library for the Litterbox web system, it's inspired heavily by JWT, but with a few small specific differences.

Installation

npm install lwtauth --save

Usage

  var lwt = require('lwtauth)
  var data = lwt.decode(token)

Tests

npm test

Release history

0.1.0 Initial release 0.1.2 Fixed the token decoding 0.1.3 The decode should return false when token is undefined 0.1.4 Added encode function, and improved testcases

About

A simple authentication package for the litterbox system, very similar to JWT.

Resources

Stars

Watchers

Forks

Packages

No packages published