Authkey.state

From Safe Creative API
Revision as of 11:52, 4 May 2010 by w>Jguillo (Created page with 'Returns the state of an authkey and the nonce key associated to it. = Info = * '''Component name:''' authkey.state * '''Signature:''' Requires signature using the sharedkey's pr…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns the state of an authkey and the nonce key associated to it.

Info

  • Component name: authkey.state
  • Signature: Requires signature using the sharedkey's private key
  • Timestamp: Requires ztime parameter

Parameters

  • authkey*: The authkey to query about
  • sharedkey*: Your application shared key
  • ztime*: Z-Timestamp

* Required parameter

Sample

REQUEST:

https://api.safecreative.org/v2/
?authkey=23j22wtpoguzgzk0fag39sey6
&component=authkey.state
&sharedkey=zy9x4ol0ctg3btyswq7b5wi9
&ztime=1271749822816
&signature=7d6ec7ad668da907286ee2901448af8e3581e37e


RESPONSE:

<?xml version="1.0" encoding="UTF-8"?>
<authkeystate>
  <authkey>23j22wtpoguzgzk0fag39sey6</authkey>
  <authorized>false</authorized>
</authkeystate>