2.0.1 • Published 5 years ago

@ionchi/redis-session-checker v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

redis-session-checker

GitHub issues GitHub license npm (scoped)

This is a utility package to check the validity of a session, set by SPRING BOOT, with Redis.

Install with:

npm i @ionchi/redis-session-checker

Usage Example

var sessionChecker = require('@ionchi/redis-session-checker');

var sessionCookieString = "SESSION=<base64 encoded string>"
var redisUrl = "redis://[host]:[port]"

sessionChecker.checkRedisSession(redisUrl, sessionCookieString)
    .then(result => {
        console.log("IS VALID: ", result);
    }).catch(err => console.log(err));

This will display something like:

IS VALID: true
2.0.1

5 years ago

2.0.0

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago