pub fn save_verified_login<T>(
profile_name: &str,
profile: &Profile,
bundle: &TokenBundle,
save_config: impl FnOnce() -> Result<T, AppError>,
) -> Result<T, AppError>Expand description
Save a verified sign-in with its config; restore the previous credential if config fails.