Home | Trees | Indices | Help |
---|
|
This class represent authentication token, used to sign API calls. Token can be created with API key and secret (provided by mindmeister or application). See http://www.mindmeister.com/developers/authentication for more details. Token can be stored as file for further use. In order to use token it must be registered by the following action sequence: 1. token = AuthToken(api_key, secret) 2. frob = getTokenBegin (token, method) MindMeister.com web page with confirmation dialog will be opened. User should confirm access to the application. 4. getTokenEnd (token, frob) Method can be: 1. read 2. write 3. delete
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Create new (unregistered) token. Arguments: key -- API key secret -- shared secret Optional (keyword) Arguments: |
Load token from file. Returns true if token has been successfully loaded. Arguments: Optional (keyword) Arguments: |
Store token to a file. Arguments: Optional (keyword) Arguments: |
Returns a new frob for authentication. Arguments: Optional (keyword) Arguments: This function calls mm.auth.getFrob MindMeister API method More documentation can be found by this URL: http://www.mindmeister.com/developers/explore_method?method=mm.auth.getFrob |
Start token registration process. Arguments: perms -- permissions (method) Optional (keyword) Arguments: |
Finish token registration process. Arguments: perms -- frob obtained from getTokenBegin call Optional (keyword) Arguments: |
Checks the token for a user. Arguments: Optional (keyword) Arguments: This function calls mm.auth.checkToken MindMeister API method More documentation can be found by this URL: http://www.mindmeister.com/developers/explore_method?method=mm.auth.checkToken |
Sets proxy to be used with this token. Arguments: proxy -- proxy to be used. Optional (keyword) Arguments: Sets proxy to be used with this token. Use None to disable proxy usage. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat May 19 12:03:34 2012 | http://epydoc.sourceforge.net |