( Return to API Overview )
Description
This namespace provides methods to authenticate with the system's
 management server.
Namespace:
auth
Description:
Login using a username and password. Returns the session key
 used by most other API methods.
Parameters:
- 
    string username
 
 
- 
    string password
 
 
Returns:
Description:
Login using a username and password. Returns the session key
 used by other methods.
Parameters:
- 
    string username
 
 
- 
    string password
 
 
- 
    int duration - Length of session.
 
 
Returns:
Description:
Logout the user with the given session key.
Parameters:
Returns:
- 
    int - 1 on success, exception thrown otherwise.