Home | Trees | Indices | Help |
---|
|
object --+ | Token
An OAuth credential used to request authorization or a protected resource.
Tokens in OAuth comprise a *key* and a *secret*. The key is included in requests to identify the token being used, but the secret is used only in the signature, to prove that the requester is who the server gave the token to.
When first negotiating the authorization, the consumer asks for a *request token* that the live user authorizes with the service provider. The consumer then exchanges the request token for an *access token* that can be used to access protected resources.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|
|||
key = None hash(x) |
|||
secret = None hash(x) |
|||
callback = None hash(x) |
|||
callback_confirmed = None hash(x) |
|||
verifier = None hash(x) |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Returns this token as a plain string, suitable for storage. The resulting string includes the token's secret, so you should never send or store this string where a third party can read it. |
str(x)
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Feb 9 17:17:56 2013 | http://epydoc.sourceforge.net |