use steam_user::{SteamUser, SteamUserError};
use tracing::info;
#[tokio::main]
async fn main() -> Result<(), SteamUserError> {
tracing_subscriber::fmt::init();
let mut community = SteamUser::new(&["steamLoginSecure=76561198012345678||YOUR_ACCESS_TOKEN", "sessionid=YOUR_SESSION_ID"])?;
community.set_mobile_access_token("YOUR_MOBILE_ACCESS_TOKEN".to_string());
info!("=== Enable Two-Factor Authentication ===");
info!("WARNING: This will enable 2FA on your account!");
info!("Make sure to SAVE your secrets after this operation.\n");
info!("This example demonstrates 2FA operations but doesn't execute them.");
info!("Uncomment the code blocks to enable or disable 2FA.");
info!("\nRemember to:");
info!("1. Set your mobile access token");
info!("2. Save all secrets when enabling 2FA");
info!("3. Keep your revocation code safe");
Ok(())
}