( Return to API Overview )
Description
This namespace provides methods to authenticate with the Red Hat Network.
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:
string
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:
string
Description:
Logout the user with the given session key.
Parameters:
Returns:
int - 1 on success.