Skip to content

api auth config get

Alban LEROUX edited this page Mar 10, 2012 · 4 revisions

API

auth.config.get

Return the auth plugin configuration.

require read grant access

Request example

GET http://example.com/api/get/auth.config.get/json/
{
	"method"  : "auth.config.get",
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
	<method>auth.config.get</method>
</xml>

Response example

{
	"status"   : "valid",
	"response" :
	{
		"lifetime" : 600
    }
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
	<status>valid</status>
	<response>
		<lifetime>600</lifetime>
	</response>
</xml>

Arguments

No argument needed.

Return Value

  • lifetime: is the lifetime of challenge / token.
Clone this wiki locally