Check a token validity.
- This method call must be authenticated and signed.
- This method does not require any particular permission.
URL
http://www.ipernity.com/api/auth.checkToken
Parameters
api_key
|
∗ |
Your api_key.
|
auth_token
|
∗ |
The authentication token to check.
|
∗ : this parameter is required.
Response
<auth>
<token>12345-a0b1c2d3e4f5</token>
<perms doc="write" blog="none" network="read" profile="read"/>
<user user_id="1234" username="Superman" realname="Kal-El"/>
</auth>
Error codes
| 100 |
API Key is missing |
| 101 |
API Key is invalid |
| 102 |
Invalid format |
| 103 |
Method not found |
| 104 |
Signature missing |
| 105 |
Signature is invalid |
| 106 |
Token missing |
| 107 |
Token invalid |
| 108 |
Account closed |
| 109 |
Action blocked |
| 110 |
Insufficient permissions |
| 111 |
IP not allowed |
| 112 |
Application Quota Error |
| 113 |
Client IP Quota Error |
| 120 |
HTTP POST required |
| 121 |
Invalid SOAP envelope |
| 122 |
Invalid XML-RPC envelope |
| 500 |
Service error |
| 501 |
Maintenance mode |
| 503 |
Service unavailable |
Changelog
- 2008-12-01: Method created.
See also