Function qpid_proton_sys::pn_connection_set_password[][src]

pub unsafe extern "C" fn pn_connection_set_password(
    connection: *mut pn_connection_t,
    password: *const c_char
)
Expand description

Set the authentication password for a client connection. It is necessary to set the username and password before binding the connection to a transport and it isn’t allowed to change them after the binding. Note that the password is write only and has no accessor as the underlying implementation should be zeroing the password after use to avoid the password being present in memory longer than necessary