-
Notifications
You must be signed in to change notification settings - Fork 0
api auth refresh
Jay Williams edited this page Mar 7, 2012
·
6 revisions
Request a new token.
See : Authentication
no grant access required
GET http://example.com/api/get/auth.refresh/json/?token=fa10c4d7b02a13e27a2ae5a5bbe8130b
{
"method" : "auth.refresh",
"request" :
{
"token" : "fa10c4d7b02a13e27a2ae5a5bbe8130b",
"signature" : "2f692b7f7f85856b058aa537776ce677"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<method>auth.refresh</method>
<request>
<token>fa10c4d7b02a13e27a2ae5a5bbe8130b</token>
<signature>2f692b7f7f85856b058aa537776ce677</signature>
</refresh>
</xml>
{
"status" : "valid",
"response" :
{
"nonce" : "8b863651d51f3000226aa9a628df4ee8",
"signature" : "27cee4f2a55d7cc1d03d152607199d59"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<status>valid</status>
<response>
<nonce>8b863651d51f3000226aa9a628df4ee8</nonce>
<signature>27cee4f2a55d7cc1d03d152607199d59</signature>
</response>
</xml>
- token: the actual token
- signature: the actual token signature (by the new token)
- nonce: the nonce to use in next request
- signature: the nonce signature (by the new token)
auth.config.get
auth.config.set
auth.request
auth.token
auth.refresh
auth.destroy
auth.user.add
auth.user.set
auth.user.del
auth.user.get
auth.user.list
auth.entity.add
auth.entity.set
auth.entity.del
auth.entity.get
auth.entity.list
auth.grant.add
auth.grant.set
auth.grant.del
auth.grant.get
auth.grant.list