code: def token(self):
          '''
          The token used for the request
          '''
          # find the token (cookie or headers)
          if AUTH_TOKEN_HEADER in self.request.headers:
              return self.request.headers[AUTH_TOKEN_HEADER]
          else:
              return self.get_cookie(AUTH_COOKIE_NAMEf token(self):
          '''
          The token used for the request
          '''
          # find the token (cookie or headers)
          if AUTH_TOKEN_HEADER in self.request.headers:
              return self.request.headers[AUTH_TOKEN_HEADER]
          else:
              return self.get_cookie(AUTH_COOKIE_NAME)
docs: The token used for the request