Function x11rb_protocol::xauth::get_auth
source · 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.
family
is the protocol family that is used for connecting; this describes how to interpret theaddress
.address
is the raw bytes describing the address that is being connected to.display
is the display number.
If successful, this function returns that can be written to the X11 server as authorization protocol name and data, respectively.