application program interface API Overview: auth
( Return to API Overview )

Available methods

Description

This namespace provides methods to authenticate with the Red Hat Network.

Namespace: auth


Method: login

Description:
Login using a username and password. Returns the session key used by most other API methods.

Parameters:

Returns: string


Method: login

Description:
Login using a username and password. Returns the session key used by other methods.

Parameters:

Returns: string


Method: logout

Description:
Logout the user with the given session key.

Parameters:

Returns: int - 1 on success.