Package restkit :: Module oauth2 :: Class SignatureMethod_HMAC_SHA1
[hide private]

Class SignatureMethod_HMAC_SHA1

source code

     object --+    
              |    
SignatureMethod --+
                  |
                 SignatureMethod_HMAC_SHA1

Instance Methods [hide private]
 
signing_base(self, request, consumer, token)
Calculates the string that needs to be signed.
source code
 
sign(self, request, consumer, token)
Builds the base signature string.
source code

Inherited from SignatureMethod: check

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  name = 'HMAC-SHA1'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

signing_base(self, request, consumer, token)

source code 

Calculates the string that needs to be signed.

This method returns a 2-tuple containing the starting key for the signing and the message to be signed. The latter may be used in error messages to help clients debug their software.

Overrides: SignatureMethod.signing_base
(inherited documentation)

sign(self, request, consumer, token)

source code 

Builds the base signature string.

Overrides: SignatureMethod.sign