code: function decodeToken(tokenStr) {
    if (!tokenStr || tokenStr === '') return null;
    try {
      return (0, _jwtDecode2.default)(tokenStr);
    } catch (error) {
      _logger2.default.error({
        description: 'Error decoding token.',
        error: error, func: 'decodeToken', file: 'token'
      });
      return null;
    }
  }
docs: Safley decode a JWT string
  @private
  @return {Object}