Module ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str keyword Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword NameLoad keyword Str keyword Str keyword Str keyword Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam NameParam defaults Str Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword Str keyword Str keyword Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword NameLoad keyword Str keyword Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword NameLoad keyword Str keyword Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str For NameStore TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Str keyword Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str decorator_list decorator_list
N/A __future__ absolute_import unicode_literals oauthlib.common Request oauthlib.oauth1 SIGNATURE_RSA SIGNATURE_PLAINTEXT oauthlib.oauth1 SIGNATURE_TYPE_BODY SIGNATURE_TYPE_QUERY oauthlib.oauth1.rfc5849 Client bytes_type unittest TestCase ClientRealmTests N/A TestCase N/A test_client_no_realm N/A N/A self N/A N/A N/A client N/A Client client-key N/A N/A uri header body N/A N/A client sign http://example-uri N/A N/A N/A self assertTrue N/A N/A N/A header N/A Authorization startswith OAuth oauth_nonce= N/A test_client_realm_sign_with_default_realm N/A N/A self N/A N/A N/A client N/A Client client-key realm moo-realm N/A N/A N/A self assertEqual N/A client realm moo-realm N/A N/A uri header body N/A N/A client sign http://example-uri N/A N/A N/A self assertTrue N/A N/A N/A header N/A Authorization startswith OAuth realm="moo-realm", N/A test_client_realm_sign_with_additional_realm N/A N/A self N/A N/A N/A client N/A Client client-key realm moo-realm N/A N/A uri header body N/A N/A client sign http://example-uri realm baa-realm N/A N/A N/A self assertTrue N/A N/A N/A header N/A Authorization startswith OAuth realm="baa-realm", N/A N/A N/A self assertEqual N/A client realm moo-realm N/A N/A ClientConstructorTests N/A TestCase N/A test_convert_to_unicode_resource_owner N/A N/A self N/A N/A N/A client N/A Client client-key resource_owner_key owner key N/A N/A N/A self assertFalse N/A isinstance N/A client resource_owner_key bytes_type N/A N/A N/A self assertEqual N/A client resource_owner_key owner key N/A test_give_explicit_timestamp N/A N/A self N/A N/A N/A client N/A Client client-key timestamp 1 N/A params N/A dict N/A N/A client get_oauth_params N/A Request http://example.com N/A N/A N/A self assertEqual N/A params N/A oauth_timestamp 1 N/A test_give_explicit_nonce N/A N/A self N/A N/A N/A client N/A Client client-key nonce 1 N/A params N/A dict N/A N/A client get_oauth_params N/A Request http://example.com N/A N/A N/A self assertEqual N/A params N/A oauth_nonce 1 N/A test_decoding N/A N/A self N/A N/A N/A client N/A Client client_key decoding utf-8 N/A N/A uri headers body N/A N/A client sign http://a.b/path?query http_method POST body a=b headers N/A Content-Type application/x-www-form-urlencoded N/A N/A N/A self assertIsInstance uri bytes_type N/A N/A N/A self assertIsInstance body bytes_type N/A N/A k v N/A N/A headers items N/A N/A N/A N/A self assertIsInstance k bytes_type N/A N/A N/A self assertIsInstance v bytes_type N/A test_rsa N/A N/A self N/A N/A N/A client N/A Client client_key signature_method SIGNATURE_RSA N/A N/A N/A self assertIsNone N/A client rsa_key N/A N/A SignatureMethodTest N/A TestCase N/A test_rsa_method N/A N/A self N/A N/A N/A private_key -----BEGIN RSA PRIVATE KEY-----
MIICXgIBAAKBgQDk1/bxyS8Q8jiheHeYYp/4rEKJopeQRRKKpZI4s5i+UPwVpupG
AlwXWfzXwSMaKPAoKJNdu7tqKRniqst5uoHXw98gj0x7zamu0Ck1LtQ4c7pFMVah
5IYGhBi2E9ycNS329W27nJPWNCbESTu7snVlG8V8mfvGGg3xNjTMO7IdrwIDAQAB
AoGBAOQ2KuH8S5+OrsL4K+wfjoCi6MfxCUyqVU9GxocdM1m30WyWRFMEz2nKJ8fR
p3vTD4w8yplTOhcoXdQZl0kRoaDzrcYkm2VvJtQRrX7dKFT8dR8D/Tr7dNQLOXfC
DY6xveQczE7qt7Vk7lp4FqmxBsaaEuokt78pOOjywZoInjZhAkEA9wz3zoZNT0/i
rf6qv2qTIeieUB035N3dyw6f1BGSWYaXSuerDCD/J1qZbAPKKhyHZbVawFt3UMhe
542UftBaxQJBAO0iJy1I8GQjGnS7B3yvyH3CcLYGy296+XO/2xKp/d/ty1OIeovx
C60pLNwuFNF3z9d2GVQAdoQ89hUkOtjZLeMCQQD0JO6oPHUeUjYT+T7ImAv7UKVT
Suy30sKjLzqoGw1kR+wv7C5PeDRvscs4wa4CW9s6mjSrMDkDrmCLuJDtmf55AkEA
kmaMg2PNrjUR51F0zOEFycaaqXbGcFwe1/xx9zLmHzMDXd4bsnwt9kk+fe0hQzVS
JzatanQit3+feev1PN3QewJAWv4RZeavEUhKv+kLe95Yd0su7lTLVduVgh4v5yLT
Ga6FHdjGPcfajt+nrpB1n8UQBEH9ZxniokR/IPvdMlxqXA==
-----END RSA PRIVATE KEY----- N/A client N/A Client client_key signature_method SIGNATURE_RSA rsa_key private_key timestamp 1234567890 nonce abc N/A N/A u h b N/A N/A client sign http://example.com N/A correct OAuth oauth_nonce="abc", oauth_timestamp="1234567890", oauth_version="1.0", oauth_signature_method="RSA-SHA1", oauth_consumer_key="client_key", oauth_signature="ktvzkUhtrIawBcq21DRJrAyysTc3E1Zq5GdGu8EzHOtbeaCmOBDLGHAcqlm92mj7xp5E1Z6i2vbExPimYAJL7FzkLnkRE5YEJR4rNtIgAf1OZbYsIUmmBO%2BCLuStuu5Lg3tAluwC7XkkgoXCBaRKT1mUXzPHJILzZ8iFOvS6w5E%3D" N/A N/A N/A self assertEqual N/A h N/A Authorization correct N/A test_plaintext_method N/A N/A self N/A N/A N/A client N/A Client client_key signature_method SIGNATURE_PLAINTEXT timestamp 1234567890 nonce abc client_secret foo resource_owner_secret bar N/A N/A u h b N/A N/A client sign http://example.com N/A correct OAuth oauth_nonce="abc", oauth_timestamp="1234567890", oauth_version="1.0", oauth_signature_method="PLAINTEXT", oauth_consumer_key="client_key", oauth_signature="foo%26bar" N/A N/A N/A self assertEqual N/A h N/A Authorization correct N/A test_invalid_method N/A N/A self N/A N/A N/A client N/A Client client_key signature_method invalid N/A N/A N/A self assertRaises ValueError N/A client sign http://example.com N/A test_rsa_no_key N/A N/A self N/A N/A N/A client N/A Client client_key signature_method SIGNATURE_RSA N/A N/A N/A self assertRaises ValueError N/A client sign http://example.com N/A test_register_method N/A N/A self N/A N/A N/A N/A N/A Client register_signature_method PIZZA N/A N/A N/A base_string client N/A PIZZA N/A N/A N/A self assertTrue N/A PIZZA N/A Client SIGNATURE_METHODS N/A client N/A Client client_key signature_method PIZZA timestamp 1234567890 nonce abc N/A N/A u h b N/A N/A client sign http://example.com N/A N/A N/A self assertEquals N/A h N/A Authorization OAuth oauth_nonce="abc", oauth_timestamp="1234567890", oauth_version="1.0", oauth_signature_method="PIZZA", oauth_consumer_key="client_key", oauth_signature="PIZZA" N/A N/A SignatureTypeTest N/A TestCase N/A test_params_in_body N/A N/A self N/A N/A N/A client N/A Client client_key signature_type SIGNATURE_TYPE_BODY timestamp 1378988215 nonce 14205877133089081931378988215 N/A N/A _ h b N/A N/A client sign http://i.b/path http_method POST body a=b headers N/A Content-Type application/x-www-form-urlencoded N/A N/A N/A self assertEqual N/A h N/A Content-Type application/x-www-form-urlencoded N/A correct a=b&oauth_nonce=14205877133089081931378988215&oauth_timestamp=1378988215&oauth_version=1.0&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=client_key&oauth_signature=2JAQomgbShqoscqKWBiYQZwWq94%3D N/A N/A N/A self assertEqual b correct N/A test_params_in_query N/A N/A self N/A N/A N/A client N/A Client client_key signature_type SIGNATURE_TYPE_QUERY timestamp 1378988215 nonce 14205877133089081931378988215 N/A N/A u _ _ N/A N/A client sign http://i.b/path http_method POST N/A correct http://i.b/path?oauth_nonce=14205877133089081931378988215&oauth_timestamp=1378988215&oauth_version=1.0&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=client_key&oauth_signature=08G5Snvw%2BgDAzBF%2BCmT5KqlrPKo%3D N/A N/A N/A self assertEqual u correct N/A test_invalid_signature_type N/A N/A self N/A N/A N/A client N/A Client client_key signature_type invalid N/A N/A N/A self assertRaises ValueError N/A client sign http://i.b/path N/A N/A SigningTest N/A TestCase N/A test_case_insensitive_headers N/A N/A self N/A N/A N/A client N/A Client client_key N/A N/A _ h _ N/A N/A client sign http://i.b/path http_method POST body headers N/A Content-Type application/x-www-form-urlencoded N/A N/A N/A self assertEqual N/A h N/A Content-Type application/x-www-form-urlencoded N/A N/A _ h _ N/A N/A client sign http://i.b/path http_method POST body headers N/A content-type application/x-www-form-urlencoded N/A N/A N/A self assertEqual N/A h N/A content-type application/x-www-form-urlencoded N/A N/A _ h _ N/A N/A client sign http://i.b/path http_method POST body headers N/A Content-type application/x-www-form-urlencoded N/A N/A N/A self assertEqual N/A h N/A Content-type application/x-www-form-urlencoded N/A N/A _ h _ N/A N/A client sign http://i.b/path http_method POST body headers N/A conTent-tYpe application/x-www-form-urlencoded N/A N/A N/A self assertEqual N/A h N/A conTent-tYpe application/x-www-form-urlencoded N/A test_sign_no_body N/A N/A self N/A N/A N/A client N/A Client client_key decoding utf-8 N/A N/A N/A self assertRaises ValueError N/A client sign http://i.b/path http_method POST body None headers N/A Content-Type application/x-www-form-urlencoded N/A test_sign_body N/A N/A self N/A N/A N/A client N/A Client client_key N/A N/A _ h b N/A N/A client sign http://i.b/path http_method POST body headers N/A Content-Type application/x-www-form-urlencoded N/A N/A N/A self assertEqual N/A h N/A Content-Type application/x-www-form-urlencoded N/A test_sign_get_with_body N/A N/A self N/A N/A N/A client N/A Client client_key N/A method N/A GET HEAD N/A N/A N/A N/A self assertRaises ValueError N/A client sign http://a.b/path?query http_method method body a=b headers N/A Content-Type application/x-www-form-urlencoded N/A test_sign_unicode N/A N/A self N/A N/A N/A client N/A Client client_key nonce abc timestamp abc N/A N/A _ h b N/A N/A client sign http://i.b/path http_method POST body status=%E5%95%A6%E5%95%A6 headers N/A Content-Type application/x-www-form-urlencoded N/A N/A N/A self assertEqual b status=%E5%95%A6%E5%95%A6 N/A N/A N/A self assertIn oauth_signature="yrtSqp88m%2Fc5UDaucI8BXK4oEtk%3D" N/A h N/A Authorization N/A N/A _ h b N/A N/A client sign http://i.b/path http_method POST body status=%C3%A6%C3%A5%C3%B8 headers N/A Content-Type application/x-www-form-urlencoded N/A N/A N/A self assertEqual b status=%C3%A6%C3%A5%C3%B8 N/A N/A N/A self assertIn oauth_signature="oG5t3Eg%2FXO5FfQgUUlTtUeeZzvk%3D" N/A h N/A Authorization N/A N/A