[ Version ( since = "1.19.52" ) ]
public bool set_libvirt_supported_credentials (string[] creds) throws Error
set libvirt credentials supported by calling program
Call this function before setting an event handler for GUESTFS_EVENT_LIBVIRT_AUTH, to supply the list of credential types
that the program knows how to process.
The creds list must be a non-empty list of strings. Possible strings are:
username authname language cnonce passphrase echoprompt
noechoprompt realm external
See libvirt documentation for the meaning of these credential types.
See "LIBVIRT AUTHENTICATION" in guestfs(3) for documentation and example code.
| this |
A GuestfsSession object |
| creds |
an array of strings |
|
true on success, false on error |