MythTV  master
Public Member Functions | Static Public Attributes | List of all members
nv_python_libs.vimeo.oauth.oauth_api.OAuthToken Class Reference
Inheritance diagram for nv_python_libs.vimeo.oauth.oauth_api.OAuthToken:
Inheritance graph
[legend]
Collaboration diagram for nv_python_libs.vimeo.oauth.oauth_api.OAuthToken:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, key, secret)
 
def set_callback (self, callback)
 
def set_verifier (self, verifier=None)
 
def get_callback_url (self)
 
def to_string (self)
 
def from_string (s)
 
def __str__ (self)
 

Static Public Attributes

 key = None
 
 secret = None
 
 callback = None
 
 callback_confirmed = None
 
 verifier = None
 
 from_string = staticmethod(from_string)
 

Detailed Description

OAuthToken is a data type that represents an End User via either an access
or request token.

key -- the token
secret -- the token secret

Definition at line 86 of file oauth_api.py.

Constructor & Destructor Documentation

◆ __init__()

def nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.__init__ (   self,
  key,
  secret 
)

Definition at line 100 of file oauth_api.py.

Member Function Documentation

◆ set_callback()

def nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.set_callback (   self,
  callback 
)

Definition at line 104 of file oauth_api.py.

◆ set_verifier()

def nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.set_verifier (   self,
  verifier = None 
)

Definition at line 108 of file oauth_api.py.

◆ get_callback_url()

def nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.get_callback_url (   self)

Definition at line 114 of file oauth_api.py.

◆ to_string()

def nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.to_string (   self)

◆ from_string()

def nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.from_string (   s)
Returns a token from something like:
oauth_token_secret=xxx&oauth_token=xxx

Definition at line 136 of file oauth_api.py.

◆ __str__()

def nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.__str__ (   self)

Definition at line 151 of file oauth_api.py.

Member Data Documentation

◆ key

nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.key = None
static

◆ secret

nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.secret = None
static

◆ callback

nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.callback = None
static

◆ callback_confirmed

nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.callback_confirmed = None
static

◆ verifier

nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.verifier = None
static

◆ from_string

nv_python_libs.vimeo.oauth.oauth_api.OAuthToken.from_string = staticmethod(from_string)
static

The documentation for this class was generated from the following file: