def GetXsrfToken():
  token = None
  user = users.get_current_user()
  if user:
    mac = hmac.new(config.XSRF_KEY, user.user_id(), hashlib.sha256)
    token = mac.hexdigest()
  return token
Generate a signed token unique to this user.
dataset/ETHPy150Open googleanalytics/google-analytics-super-proxy/src/controllers/util/access_control.py/GetXsrfToken