@financial-times/session-decoder-js

A simple lib that allows you to decode the uuid from an FT session.

Stats

StarsIssuesVersionUpdatedCreatedSize
@financial-times/session-decoder-js
1.2.2a year ago5 years agoMinified + gzip package size for @financial-times/session-decoder-js in KB

Readme

Session Decoder

A simple lib that allows you to decode the uuid from an FT session.

Warning

The session token holds the UUID but not any information as to the validity of the session - for example if the session was revoked by the FT or expired.

It is therefore unsuitable to use this library for authentication.

Requests that read and write a user's data MUST authenticate directly against the Session API to ensure the session is valid.

For more information:-

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.