Skip to content

Commit 1919056

Browse files
committed
remove duplicate doc
1 parent 46c756f commit 1919056

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

auth/src/main/java/com/firebase/ui/auth/compose/mfa/MfaEnrollmentContentState.kt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -87,62 +87,44 @@ data class MfaEnrollmentContentState(
8787
val onBackClick: () -> Unit = {},
8888

8989
// SelectFactor step
90-
/** (SelectFactor) List of MFA factors the user can choose from. */
9190
val availableFactors: List<MfaFactor> = emptyList(),
9291

93-
/** (SelectFactor) Callback when user selects an MFA factor. */
9492
val onFactorSelected: (MfaFactor) -> Unit = {},
9593

96-
/** (SelectFactor) Skip callback. `null` if enrollment is required. */
9794
val onSkipClick: (() -> Unit)? = null,
9895

9996
// ConfigureSms step
100-
/** (ConfigureSms) Current phone number value (without country code prefix). */
10197
val phoneNumber: String = "",
10298

103-
/** (ConfigureSms) Callback when phone number changes. */
10499
val onPhoneNumberChange: (String) -> Unit = {},
105100

106-
/** (ConfigureSms) Currently selected country (dial code, country code, flag). */
107101
val selectedCountry: CountryData? = null,
108102

109-
/** (ConfigureSms) Callback when user selects a different country. */
110103
val onCountrySelected: (CountryData) -> Unit = {},
111104

112-
/** (ConfigureSms) Callback to send SMS verification code. */
113105
val onSendSmsCodeClick: () -> Unit = {},
114106

115107
// ConfigureTotp step
116-
/** (ConfigureTotp) TOTP secret containing shared key. Use to display or access Firebase secret. */
117108
val totpSecret: TotpSecret? = null,
118109

119-
/** (ConfigureTotp) QR code URI for authenticator apps. */
120110
val totpQrCodeUrl: String? = null,
121111

122-
/** (ConfigureTotp) Callback to proceed to verification after QR scan. */
123112
val onContinueToVerifyClick: () -> Unit = {},
124113

125114
// VerifyFactor step
126-
/** (VerifyFactor) Current verification code value (6 digits). */
127115
val verificationCode: String = "",
128116

129-
/** (VerifyFactor) Callback when verification code changes. */
130117
val onVerificationCodeChange: (String) -> Unit = {},
131118

132-
/** (VerifyFactor) Callback to verify code and finalize enrollment. */
133119
val onVerifyClick: () -> Unit = {},
134120

135-
/** (VerifyFactor) The factor being verified (SMS or TOTP). Use to customize messages. */
136121
val selectedFactor: MfaFactor? = null,
137122

138-
/** (VerifyFactor, SMS only) Callback to resend SMS code. `null` for TOTP. */
139123
val onResendCodeClick: (() -> Unit)? = null,
140124

141125
// ShowRecoveryCodes step
142-
/** (ShowRecoveryCodes) One-time backup codes to save. Only if recovery codes are enabled. */
143126
val recoveryCodes: List<String>? = null,
144127

145-
/** (ShowRecoveryCodes) Callback when user confirms codes are saved. Completes enrollment. */
146128
val onCodesSavedClick: () -> Unit = {}
147129
) {
148130
/**

0 commit comments

Comments
 (0)