-
Notifications
You must be signed in to change notification settings - Fork 0
api auth token
Alban LEROUX edited this page Sep 19, 2011
·
6 revisions
Valid authentification and get a token.
{
"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" :
{
"token" : "8b863651d51f3000226aa9a628df4ee8"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<status>valid</status>
<response>
<token>8b863651d51f3000226aa9a628df4ee8</token>
</response>
</xml>
challenge
the challenge provided via: auth.request
signature
the token signature
token
the 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