pub fn validate_authenticate_versions( payload: &AuthenticateRequest, ) -> Result<(), AuthenticateVersionError>