MythTV
master
|
Classes | |
class | OAuthClient |
class | OAuthConsumer |
class | OAuthDataStore |
class | OAuthError |
class | OAuthRequest |
class | OAuthServer |
class | OAuthSignatureMethod |
class | OAuthSignatureMethod_HMAC_SHA1 |
class | OAuthSignatureMethod_PLAINTEXT |
class | OAuthToken |
Functions | |
def | build_authenticate_header (realm='') |
def | escape (s) |
def | _utf8_str (s) |
def | generate_timestamp () |
def | generate_nonce (length=8) |
def | generate_verifier (length=8) |
Variables | |
string | VERSION = '1.0' |
string | HTTP_METHOD = 'GET' |
string | SIGNATURE_METHOD = 'PLAINTEXT' |
The MIT License Copyright (c) 2007 Leah Culver Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
def nv_python_libs.vimeo.oauth.oauth_api.build_authenticate_header | ( | realm = '' | ) |
Optional WWW-Authenticate header (401 error)
Definition at line 43 of file oauth_api.py.
def nv_python_libs.vimeo.oauth.oauth_api.escape | ( | s | ) |
Escape a URL including any /.
Definition at line 47 of file oauth_api.py.
Referenced by nv_python_libs.vimeo.oauth.oauth_api.OAuthSignatureMethod_HMAC_SHA1.build_signature_base_string(), nv_python_libs.vimeo.oauth.oauth_api.OAuthSignatureMethod_PLAINTEXT.build_signature_base_string(), nv_python_libs.vimeo.oauth.oauth_api.OAuthRequest.get_normalized_parameters(), nv_python_libs.vimeo.oauth.oauth_api.OAuthRequest.to_header(), and nv_python_libs.vimeo.oauth.oauth_api.OAuthRequest.to_postdata().
|
private |
Convert unicode to utf-8.
Definition at line 51 of file oauth_api.py.
Referenced by nv_python_libs.vimeo.oauth.oauth_api.OAuthRequest.get_normalized_parameters().
def nv_python_libs.vimeo.oauth.oauth_api.generate_timestamp | ( | ) |
Get seconds since epoch (UTC).
Definition at line 58 of file oauth_api.py.
Referenced by nv_python_libs.vimeo.oauth.oauth_api.OAuthRequest.from_consumer_and_token().
def nv_python_libs.vimeo.oauth.oauth_api.generate_nonce | ( | length = 8 | ) |
Generate pseudorandom number.
Definition at line 62 of file oauth_api.py.
Referenced by nv_python_libs.vimeo.oauth.oauth_api.OAuthRequest.from_consumer_and_token().
def nv_python_libs.vimeo.oauth.oauth_api.generate_verifier | ( | length = 8 | ) |
Generate pseudorandom number.
Definition at line 66 of file oauth_api.py.
Referenced by nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.set_verifier().
string nv_python_libs.vimeo.oauth.oauth_api.VERSION = '1.0' |
Definition at line 33 of file oauth_api.py.
string nv_python_libs.vimeo.oauth.oauth_api.HTTP_METHOD = 'GET' |
Definition at line 34 of file oauth_api.py.
string nv_python_libs.vimeo.oauth.oauth_api.SIGNATURE_METHOD = 'PLAINTEXT' |
Definition at line 35 of file oauth_api.py.