@loves/loves-auth-handler

Authentication handler to decode and retrieve information from tokens.

Stats

StarsIssuesVersionUpdatedCreatedSize
@loves/loves-auth-handler
0.1.04 years ago4 years agoMinified + gzip package size for @loves/loves-auth-handler in KB

Readme

Love's Authentication Handler

A library to decode and retrieve specific attributes from authentication tokens

Installation

npm install @loves/loves-auth-handler

Usage

const lovesAuthHandler = require('@loves/loves-auth-handler');

lovesAuthHandler(authHeader, attribute_key) -- Returns value for key, if found.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.