-
Notifications
You must be signed in to change notification settings - Fork 0
api auth config set
Alban LEROUX edited this page Mar 10, 2012
·
5 revisions
Change the auth plugin configuration.
require config
grant access
GET http://example.com/api/get/auth.config.set/json/?lifetime=600
{
"method" : "auth.config.set",
"request" :
{
"lifetime" : 600
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<method>auth.config.set</method>
<request>
<lifetime>600</lifetime>
</request>
</xml>
{
"status" : "valid",
"response" :
{
"message" : "configuration updated"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<status>valid</status>
<response>
<message>configuration updated</message>
</response>
</xml>
- [lifetime]: Integer, upper than 10. It is the challenge / token's lifetime.
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