get_libvirt_requested_credentials


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.19.52" ) ]
public string[] get_libvirt_requested_credentials () throws Error

get list of credentials requested by libvirt

This should only be called during the event callback for events of type GUESTFS_EVENT_LIBVIRT_AUTH.

Return the list of credentials requested by libvirt. Possible values are a subset of the strings provided when you called set_libvirt_supported_credentials.

See "LIBVIRT AUTHENTICATION" in guestfs(3) for documentation and example code.

Parameters:

this

A GuestfsSession object

Returns:

an array of returned strings, or NULL on error