Lines Matching refs:cls
407 def make_timestamp(cls):
412 def make_nonce(cls):
417 def from_request(cls, http_method, http_url, headers=None, parameters=None,
431 header_params = cls._split_header(auth_header)
439 query_params = cls._split_url_string(query_string)
444 url_params = cls._split_url_string(param_str)
448 return cls(http_method, http_url, parameters)
453 def from_consumer_and_token(cls, consumer, token=None,
460 'oauth_timestamp': cls.make_timestamp(),
461 'oauth_nonce': cls.make_nonce(),
462 'oauth_version': cls.version,
476 def from_token_and_callback(cls, token, callback=None,
487 return cls(http_method, http_url, parameters)