tcms.rpc.api.auth module

tcms.rpc.api.auth.login(username, password, **kwargs)[source]
XML-RPC Auth.login(username, password)

Login into Kiwi TCMS.

Parameters:
  • username (str) – A Kiwi TCMS login or email address
  • password (str) – The password
  • kwargs – Dict providing access to the current request, protocol entry point name and handler instance from the rpc method
Returns:

Session ID

Return type:

str

Raises:

PermissionDenied – if username or password doesn’t match or missing

tcms.rpc.api.auth.logout(**kwargs)[source]
XML-RPC Auth.logout()

Delete session information