pub async fn authenticate<B, W>(
r: &mut B,
w: &Arc<Mutex<W>>,
peer_uid: Option<u32>,
allow_anonymous: bool,
guid: &str,
) -> Result<()>Expand description
The server’s half of SASL: a NUL byte, then lines until BEGIN. EXTERNAL is offered only where the peer’s uid is known (the Unix socket) and succeeds only for that uid.