// Code generated by oagen. DO NOT EDIT.
#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// TOTP-based authentication factor details. Includes enrollment secrets only available at creation time.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct AuthenticationFactorEnrolledTotp {
/// Your application or company name displayed in the user's authenticator app. Defaults to your WorkOS team name.
pub issuer: String,
/// The user's account name displayed in their authenticator app. Defaults to the user's email.
pub user: String,
/// TOTP secret that can be manually entered into some authenticator apps in place of scanning a QR code.
pub secret: crate::SecretString,
/// Base64 encoded image containing scannable QR code.
pub qr_code: String,
/// The `otpauth` URI that is encoded by the provided `qr_code`.
pub uri: String,
}