-
Notifications
You must be signed in to change notification settings - Fork 0
api auth token
Jay Williams edited this page Mar 7, 2012
·
6 revisions
Valid authentication and get a token.
See : Authentication
no grant access required
GET http://example.com/api/get/auth.token/json/?challenge=fa10c4d7b02a13e27a2ae5a5bbe8130b&signature=27cee4f2a55d7cc1d03d152607199d59
{
"method" : "auth.token",
"request" :
{
"challenge" : "fa10c4d7b02a13e27a2ae5a5bbe8130b",
"signature" : "27cee4f2a55d7cc1d03d152607199d59"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<method>auth.token</method>
<request>
<challenge>fa10c4d7b02a13e27a2ae5a5bbe8130b</challenge>
<signature>27cee4f2a55d7cc1d03d152607199d59</signature>
</refresh>
</xml>
{
"status" : "valid",
"response" :
{
"nonce" : "8b863651d51f3000226aa9a628df4ee8",
"signature" : "87dfddb3d82a503483cd743d0be67b5c"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<status>valid</status>
<response>
<nonce>8b863651d51f3000226aa9a628df4ee8</nonce>
<signature>87dfddb3d82a503483cd743d0be67b5c</signature>
</response>
</xml>
- challenge: the challenge provided via: auth.request
- signature: the challenge signature
- nonce: the nonce to use in next request
- signature: the nonce signature
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