refactor(auth): reuse network ValidationType for validation flow

Remove duplicate auth ValidationType and use the shared network model instead.
Add support for both "sms" and "2fa_sms" SMS validation values.
This commit is contained in:
2026-05-03 06:53:56 +03:00
parent df2c61d8d7
commit cb653eddc2
4 changed files with 5 additions and 15 deletions
@@ -2,7 +2,8 @@ package dev.meloda.fast.network
enum class ValidationType(val value: String) {
APP("2fa_app"),
SMS("2fa_sms");
SMS("sms"),
SMS2("2fa_sms");
companion object {
fun parse(value: String): ValidationType =