pub fn get_auth(
family: Family,
address: &[u8],
display: u16,
) -> Result<Option<(Vec<u8>, Vec<u8>)>, Error>Expand description
Get the authentication information necessary for connecting to the given display.
familyis the protocol family that is used for connecting; this describes how to interpret theaddress.addressis the raw bytes describing the address that is being connected to.displayis the display number.
If successful, this function returns that can be written to the X11 server as authorization protocol name and data, respectively.