| FFmpeg
    | 


| Public Member Functions | |
| def | __init__ (self, data_store=None, signature_methods=None) | 
| def | set_data_store (self, data_store) | 
| def | get_data_store (self) | 
| def | add_signature_method (self, signature_method) | 
| def | fetch_request_token (self, oauth_request) | 
| def | fetch_access_token (self, oauth_request) | 
| def | verify_request (self, oauth_request) | 
| def | authorize_token (self, token, user) | 
| def | get_callback (self, oauth_request) | 
| def | build_authenticate_header (self, realm='') | 
| def | __init__ (self, data_store=None, signature_methods=None) | 
| def | set_data_store (self, data_store) | 
| def | get_data_store (self) | 
| def | add_signature_method (self, signature_method) | 
| def | fetch_request_token (self, oauth_request) | 
| def | fetch_access_token (self, oauth_request) | 
| def | verify_request (self, oauth_request) | 
| def | authorize_token (self, token, user) | 
| def | get_callback (self, oauth_request) | 
| def | build_authenticate_header (self, realm='') | 
| Static Public Attributes | |
| int | timestamp_threshold = 300 | 
| version = VERSION | |
| signature_methods = None | |
| data_store = None | |
| Private Member Functions | |
| def | _get_version (self, oauth_request) | 
| def | _get_signature_method (self, oauth_request) | 
| def | _get_consumer (self, oauth_request) | 
| def | _get_token (self, oauth_request, token_type='access') | 
| def | _get_verifier (self, oauth_request) | 
| def | _check_signature (self, oauth_request, consumer, token) | 
| def | _check_timestamp (self, timestamp) | 
| def | _check_nonce (self, consumer, token, nonce) | 
| def | _get_version (self, oauth_request) | 
| def | _get_signature_method (self, oauth_request) | 
| def | _get_consumer (self, oauth_request) | 
| def | _get_token (self, oauth_request, token_type='access') | 
| def | _get_verifier (self, oauth_request) | 
| def | _check_signature (self, oauth_request, consumer, token) | 
| def | _check_timestamp (self, timestamp) | 
| def | _check_nonce (self, consumer, token, nonce) | 
Detailed Description
A worker to check the validity of a request against a data store.
Definition at line 371 of file musixmatch-master/7digital-python/lib/oauth.py.
Constructor & Destructor Documentation
| def 7digital-python.lib.oauth.OAuthServer.__init__ | ( | self, | |
| data_store = None, | |||
| signature_methods = None | |||
| ) | 
Definition at line 378 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer.__init__().
| def 7digital-python.lib.oauth.OAuthServer.__init__ | ( | self, | |
| data_store = None, | |||
| signature_methods = None | |||
| ) | 
Definition at line 378 of file Yading/7digital-python/lib/oauth.py.
Member Function Documentation
| 
 | private | 
Verify that the nonce is uniqueish.
Definition at line 525 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer._check_nonce(), and 7digital-python.lib.oauth.OAuthServer._check_signature().
| 
 | private | 
Verify that the nonce is uniqueish.
Definition at line 525 of file Yading/7digital-python/lib/oauth.py.
| 
 | private | 
Definition at line 496 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer._check_signature(), 7digital-python.lib.oauth.OAuthServer.fetch_access_token(), 7digital-python.lib.oauth.OAuthServer.fetch_request_token(), and 7digital-python.lib.oauth.OAuthServer.verify_request().
| 
 | private | 
Definition at line 496 of file Yading/7digital-python/lib/oauth.py.
| 
 | private | 
Verify that timestamp is recentish.
Definition at line 515 of file Yading/7digital-python/lib/oauth.py.
| 
 | private | 
Verify that timestamp is recentish.
Definition at line 515 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer._check_signature(), and 7digital-python.lib.oauth.OAuthServer._check_timestamp().
| 
 | private | 
Definition at line 478 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer._get_consumer(), 7digital-python.lib.oauth.OAuthServer.fetch_access_token(), 7digital-python.lib.oauth.OAuthServer.fetch_request_token(), and 7digital-python.lib.oauth.OAuthServer.verify_request().
| 
 | private | 
Definition at line 478 of file Yading/7digital-python/lib/oauth.py.
| 
 | private | 
Figure out the signature with some defaults.
Definition at line 461 of file Yading/7digital-python/lib/oauth.py.
| 
 | private | 
Figure out the signature with some defaults.
Definition at line 461 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer._check_signature(), and 7digital-python.lib.oauth.OAuthServer._get_signature_method().
| 
 | private | 
Try to find the token for the provided request token key.
Definition at line 485 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer._get_token(), 7digital-python.lib.oauth.OAuthServer.fetch_access_token(), 7digital-python.lib.oauth.OAuthServer.fetch_request_token(), and 7digital-python.lib.oauth.OAuthServer.verify_request().
| 
 | private | 
Try to find the token for the provided request token key.
Definition at line 485 of file Yading/7digital-python/lib/oauth.py.
| 
 | private | 
Definition at line 493 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer._get_verifier(), and 7digital-python.lib.oauth.OAuthServer.fetch_access_token().
| 
 | private | 
Definition at line 493 of file Yading/7digital-python/lib/oauth.py.
| 
 | private | 
Verify the correct version request for this server.
Definition at line 451 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer._get_version(), 7digital-python.lib.oauth.OAuthServer.fetch_access_token(), 7digital-python.lib.oauth.OAuthServer.fetch_request_token(), and 7digital-python.lib.oauth.OAuthServer.verify_request().
| 
 | private | 
Verify the correct version request for this server.
Definition at line 451 of file Yading/7digital-python/lib/oauth.py.
| def 7digital-python.lib.oauth.OAuthServer.add_signature_method | ( | self, | |
| signature_method | |||
| ) | 
Definition at line 388 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer.add_signature_method().
| def 7digital-python.lib.oauth.OAuthServer.add_signature_method | ( | self, | |
| signature_method | |||
| ) | 
Definition at line 388 of file Yading/7digital-python/lib/oauth.py.
| def 7digital-python.lib.oauth.OAuthServer.authorize_token | ( | self, | |
| token, | |||
| user | |||
| ) | 
Authorize a request token.
Definition at line 439 of file Yading/7digital-python/lib/oauth.py.
| def 7digital-python.lib.oauth.OAuthServer.authorize_token | ( | self, | |
| token, | |||
| user | |||
| ) | 
Authorize a request token.
Definition at line 439 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer.authorize_token().
| def 7digital-python.lib.oauth.OAuthServer.build_authenticate_header | ( | self, | |
| realm = '' | |||
| ) | 
Optional support for the authenticate header.
Definition at line 447 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer.build_authenticate_header().
| def 7digital-python.lib.oauth.OAuthServer.build_authenticate_header | ( | self, | |
| realm = '' | |||
| ) | 
Optional support for the authenticate header.
Definition at line 447 of file Yading/7digital-python/lib/oauth.py.
| def 7digital-python.lib.oauth.OAuthServer.fetch_access_token | ( | self, | |
| oauth_request | |||
| ) | 
Processes an access_token request and returns the access token on success.
Definition at line 412 of file Yading/7digital-python/lib/oauth.py.
| def 7digital-python.lib.oauth.OAuthServer.fetch_access_token | ( | self, | |
| oauth_request | |||
| ) | 
Processes an access_token request and returns the access token on success.
Definition at line 412 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer.fetch_access_token().
| def 7digital-python.lib.oauth.OAuthServer.fetch_request_token | ( | self, | |
| oauth_request | |||
| ) | 
Processes a request_token request and returns the request token on success.
Definition at line 392 of file Yading/7digital-python/lib/oauth.py.
| def 7digital-python.lib.oauth.OAuthServer.fetch_request_token | ( | self, | |
| oauth_request | |||
| ) | 
Processes a request_token request and returns the request token on success.
Definition at line 392 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer.fetch_request_token().
| def 7digital-python.lib.oauth.OAuthServer.get_callback | ( | self, | |
| oauth_request | |||
| ) | 
Get the callback URL.
Definition at line 443 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer.fetch_request_token(), and 7digital-python.lib.oauth.OAuthServer.get_callback().
| def 7digital-python.lib.oauth.OAuthServer.get_callback | ( | self, | |
| oauth_request | |||
| ) | 
Get the callback URL.
Definition at line 443 of file Yading/7digital-python/lib/oauth.py.
| def 7digital-python.lib.oauth.OAuthServer.get_data_store | ( | self | ) | 
Definition at line 385 of file Yading/7digital-python/lib/oauth.py.
| def 7digital-python.lib.oauth.OAuthServer.get_data_store | ( | self | ) | 
Definition at line 385 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer.get_data_store().
| def 7digital-python.lib.oauth.OAuthServer.set_data_store | ( | self, | |
| data_store | |||
| ) | 
Definition at line 382 of file Yading/7digital-python/lib/oauth.py.
| def 7digital-python.lib.oauth.OAuthServer.set_data_store | ( | self, | |
| data_store | |||
| ) | 
Definition at line 382 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer.set_data_store().
| def 7digital-python.lib.oauth.OAuthServer.verify_request | ( | self, | |
| oauth_request | |||
| ) | 
Verifies an api call and checks all the parameters.
Definition at line 428 of file Yading/7digital-python/lib/oauth.py.
| def 7digital-python.lib.oauth.OAuthServer.verify_request | ( | self, | |
| oauth_request | |||
| ) | 
Verifies an api call and checks all the parameters.
Definition at line 428 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer.verify_request().
Field Documentation
| 
 | static | 
Definition at line 376 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer.__init__(), 7digital-python.lib.oauth.OAuthServer.get_data_store(), and 7digital-python.lib.oauth.OAuthServer.set_data_store().
| 
 | static | 
| 
 | static | 
Definition at line 373 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lib.oauth.OAuthServer._check_timestamp().
| 
 | static | 
Definition at line 374 of file musixmatch-master/7digital-python/lib/oauth.py.
Referenced by 7digital-python.lockerEndpoint.Track.__init__(), and 7digital-python.lib.oauth.OAuthServer._get_version().
The documentation for this class was generated from the following file:
Generated on Fri Oct 31 2025 06:56:27 for FFmpeg by
 1.8.11
 1.8.11