pub fn authentication( is_valid: bool, context: &'static str, ) -> Result<(), Error>
Validate authentication result