code: function getAccessToken() {
    let token = dropbox.getAccessToken();
    if (!token && window.localStorage) {
      const jsonString = window.localStorage.getItem('dropbox');
      token = jsonString && JSON.parse(jsonString).token;
      if (token) {
        dropbox.setAccessToken(token);
      }
    }
  
    return (token || '') !== '' ? token : null;
  }
docs: Provides the current dropbox auth token. If stored in localStorage is set onto dropbox handler and returned
  @returns {any}