-
Notifications
You must be signed in to change notification settings - Fork 0
api auth request
Alban LEROUX edited this page Oct 3, 2011
·
7 revisions
Request for a authentification token.
- no grant access required *
{
"method" : "auth.request",
"request" :
{
"username" : "guest"
}
}<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<method>auth.token</method>
<request>
<username>guest</username>
</refresh>
</xml>{
"status" : "valid",
"response" :
{
"lifetime" : 600,
"challenge" : "8b863651d51f3000226aa9a628df4ee8"
}
}<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<status>valid</status>
<response>
<lifetime>600</lifetime>
<token>8b863651d51f3000226aa9a628df4ee8</token>
</response>
</xml>username the user name
lifetime the challenge and token lifetime
challenge the challenge
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