Auth.createToken
Creates an auth_token to be passed in as a parameter to login.php and then to
auth.getSession after the user has logged in. The user must log in soon after you create this token. See the
authentication guide for more information.
Parameters
| string |
api_key |
The application key associated with the calling application. |
| string |
sig |
An MD5 hash of the current request and your secret key, as described in the authentication guide. |
| string |
v |
This must be set to 1.0 to use this version of the API. |
| string |
format |
Optional - desired response format. Either "XML" (default) or "JSON". |
| string |
callback |
Optional - wrap the response inside a function call. This is primarily to enable cross-domain javascript requests using the <script> tag, sometimes known as "JSONP". This works with both XML and JSON. |
Note that this function does not require a session_key or call_id (although specifying a call_id will not cause any problems). The values returned from this call are storable, but expire on their first use in
auth.getSession.