luggage-session

1.0.11 • Public • Published

Luggage session manager

build status

Utils for fetching and storing dropbox authentication token.

Usage

import LuggageSession from 'luggage-session'
 
const session = new LuggageSession({ apiKey: 'dropboxApiKey', redirectUrl: '/app'})
 
// If token already exists in memory or sessionStorage you will get it
// otherwise this will cause a redirect to dropbox authentication page
const token = session.getToken()

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.11
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.11
    2
  • 1.0.10
    0

Package Sidebar

Install

npm i luggage-session

Weekly Downloads

2

Version

1.0.11

License

MIT

Unpacked Size

35.7 kB

Total Files

21

Last publish

Collaborators

  • dra1n