Raritan PX2/PX3 JSON-RPC API
|
56 constant
int ERR_ACTIVE_SESSION_EXCLUSIVE_FOR_USER = 1;
63 CLOSE_REASON_FORCED_DISCONNECT
int timeout
Session timeout in seconds.
Definition: SessionManager.idl:18
int sessionId
ID of the session.
Definition: SessionManager.idl:13
int userIdle
User idle time in seconds.
Definition: SessionManager.idl:20
Session information
Definition: SessionManager.idl:12
Session_2_0_0 getCurrentSession()
Retrieve current session information.
@ CLOSE_REASON_BROWSER_CLOSED
Browser window was closed.
Definition: SessionManager.idl:62
int newSession(out Session_2_0_0 session, out string token)
Open a new session.
vector< HistoryEntry > getSessionHistory()
Get previous session data for the current user.
Session history entry
Definition: SessionManager.idl:24
Session manager interface
Definition: SessionManager.idl:54
CloseReason
Session close reasons
Definition: SessionManager.idl:59
void closeCurrentSession(in CloseReason reason)
Close the current session.
@ CLOSE_REASON_LOGOUT
Regular logout.
Definition: SessionManager.idl:60
void closeSession(in int sessionId, in CloseReason reason)
Close a session identified by its token.
int idle
Session idle time in seconds.
Definition: SessionManager.idl:19
@ CLOSE_REASON_TIMEOUT
Session timed out.
Definition: SessionManager.idl:61
vector< Session_2_0_0 > getSessions()
Retrieve all open sessions.
string clientType
Session client type.
Definition: SessionManager.idl:27
Session Management
Definition: SessionManager.idl:9
time creationTime
Session creation timestamp (UNIX timestamp, UTC)
Definition: SessionManager.idl:25
time creationTime
Session creation timestamp (seconds since system boot)
Definition: SessionManager.idl:17
string username
Name of user owning the session.
Definition: SessionManager.idl:14
string remoteIp
Session IP address.
Definition: SessionManager.idl:15
string clientType
Client type.
Definition: SessionManager.idl:16
void touchCurrentSession(in boolean userActivity)
Reset the current session's idle timer.
string remoteIp
Session IP address.
Definition: SessionManager.idl:26