You can use the GetLoginSessionInfo method to return the period of time a login authentication session is valid for both login shells and the TUI.
This method has no input parameters.
This method has the following return value:
Name | Description | Type |
---|---|---|
loginSessionInfo | An object containing the authentication expiration period. Possible objects returned:
|
JSON object |
Requests for this method are similar to the following example:
{ "method": "GetLoginSessionInfo", "params": {}, "id" : 1 }
This method returns a response similar to the following example:
{ "id": 1, "result" : { "loginSessionInfo" : { "timeout" : "30:00" } } }