lib/utils/token.js
function _delete() {
    // Remove string token
    cookiesUtil.deleteCookie(_config2.default.tokenName);
    // Remove user data
    envStorage.removeItem(_config2.default.tokenDataName);
    _logger2.default.log({
      description: 'Token was removed.',
      func: 'delete', obj: 'token'
    });
  }
function _delete() {
    // Remove string token
    cookiesUtil.deleteCookie(_config2.default.tokenName);
    // Remove user data
    envStorage.removeItem(_config2.default.tokenDataName);
    _logger2.default.log({
      description: 'Token was removed.',
      func: 'delete', obj: 'token'
    });
  }
function _delete ( ) { // Remove string token cookiesUtil . deleteCookie ( _config2 . default . tokenName ) ; // Remove user data envStorage . removeItem ( _config2 . default . tokenDataName ) ; _logger2 . default . log ( { description : 'Token was removed.' , func : 'delete' , obj : 'token' } ) ; }
Delete token data
Delete token data