Skip to content

luggagejs/luggage-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

Utils for obtaining and keeping dropbox authentication stuff in user session

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors