pub type LoginConfirmation = Arc<dyn Fn(&ControlEvent) -> Result<bool, WebSocketError> + Send + Sync>;Expand description
Validates an account’s login acknowledgment.
Return Ok(true) only for a positively validated authentication success,
Ok(false) for other controls, and an error for a malformed acknowledgment.
An unknown event or absence of an error is not authentication success.
Aliased Type§
pub struct LoginConfirmation { /* private fields */ }