9.8. mollom.verifyKey
mollom.verifyKey |
|||
| Required | Name | Type | Description |
| required | public_key |
string | Site public key |
| required | time |
string | Site server time in this format: yyyy-MM-dd'T'HH:mm:ss-.SSSZ |
| required | hash |
string | HMAC-SHA1 digest |
| required | nonce |
string | One time nonce |
| optional | platform_name |
string | Name of the client's platform (e.g., Drupal, Joomla, Wordpress, etc.) |
| optional | platform_version |
string | Version of the client's platform (e.g., 6.12, 1.0b, etc.) |
| optional | client_name |
string | Name of the client implementation (e.g., pyMollom, MollomPHP, etc.) |
| optional | client_version |
string | Version of the client implementation (e.g., 2.1, 1.0b, etc.) |
| returns | boolean | Returns true if the key is valid. | |
mollom.verifyKey returns information about the status of a key. It requires the authentication parameters only. Mollom will return a Boolean value true if the key is valid. Otherwise, an XML-RPC error with fault code 1000 is returned, containing a detailed error message.