KSC Open API
Kaspersky Security Center API description
Session Class Reference

Session management interface. More...

List of all members.

Public Member Functions

wstring StartSession ()
 Method to create authenticated session. Authentication details should be provided in Authorization HTTP header.
 EndSession ()
 Terminate authentication session. After this call all requests within session will fail with 403 Forbidden status. If current session is bound to do a gateway connection, such connection will be closed.
 Ping ()
 Does nothing. May be used to effectively verify session validity. Session id to verify is passed in "X-KSC-Session" header.
wstring CreateToken ()
 Creates one-time authentication token.
wstring CreateBlob (params pParams)
 Create blob with connection parameters for the klsctunnel utility.

Detailed Description

Session management interface.

It allows to create session token for current security context.