tcms.xmlrpc.api.auth module

tcms.xmlrpc.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
Returns:

Session ID

Return type:

str

Raises:

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

tcms.xmlrpc.api.auth.login_krbv(**kwargs)[source]
XML-RPC Auth.login_krbv()

Login into Kiwi TCMS deployed with Kerberos.

Returns:Session ID
Return type:str
tcms.xmlrpc.api.auth.logout(**kwargs)[source]
XML-RPC Auth.logout()

Delete session information

Returns:None