Package scapi :: Module authentication :: Class OAuthAuthenticator
[hide private]
[frames] | no frames]

Class OAuthAuthenticator

source code

object --+
         |
        OAuthAuthenticator

Instance Methods [hide private]
 
__init__(self, consumer, consumer_secret, token, secret, signature_method=OAuthSignatureMethod_HMAC_SHA1())
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
augment_request(self, req, parameters, use_multipart=False, oauth_callback=None, oauth_verifier=None) source code
 
generate_timestamp(self) source code
 
generate_nonce(self, length=8) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  OAUTH_API_VERSION = '1.0'
  AUTHORIZATION_HEADER = 'Authorization'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, consumer, consumer_secret, token, secret, signature_method=OAuthSignatureMethod_HMAC_SHA1())
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)