This comes from Dropbox-js: https://github.com/dropbox/dropbox-js/blob/stable/test/src/helpers/token_stash.coffee