Skip to content

api auth config get

Alban LEROUX edited this page Oct 3, 2011 · 4 revisions

API

auth.config.get

Return the auth plugin configuration.

  • require read grant access *

Request example

{
	"method"  : "auth.config.get",
	"request" : ""
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
	<method>auth.config.get</method>
	<request />
</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.

NOTE: Even if no argument needed in the request the field request still mandatory, keep it empty.

Return Value

lifetime is the lifetime of challenge / token

Clone this wiki locally