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

Class SignatureMethod_PLAINTEXT

source code

     object --+    
              |    
SignatureMethod --+
                  |
                 SignatureMethod_PLAINTEXT

Instance Methods [hide private]
 
signing_base(self, request, consumer, token)
Concatenates the consumer key and secret with the token's secret.
source code
 
sign(self, request, consumer, token)
Returns the signature for the given request, based on the consumer and token also provided.
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 = 'PLAINTEXT'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

signing_base(self, request, consumer, token)

source code 

Concatenates the consumer key and secret with the token's secret.

Overrides: SignatureMethod.signing_base

sign(self, request, consumer, token)

source code 

Returns the signature for the given request, based on the consumer and token also provided.

You should use your implementation of `signing_base()` to build the message to sign. Otherwise it may be less useful for debugging.

Overrides: SignatureMethod.sign
(inherited documentation)