Skip to content

Commit 6a0aae4

Browse files
Merge pull request #27 from Web3Auth/feat/mfalevel
feat: add mfalevel support
2 parents 0742b92 + 327a8c8 commit 6a0aae4

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

core/src/main/java/com/web3auth/core/types/LoginParams.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ data class LoginParams (
99
val dappShare: String? = null,
1010
val extraLoginOptions: ExtraLoginOptions? = null,
1111
val redirectUrl: Uri? = null,
12-
val appState: String? = null
12+
val appState: String? = null,
13+
val mfaLevel: MFALevel? = null
1314
)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.web3auth.core.types
2+
3+
import com.google.gson.annotations.SerializedName
4+
5+
enum class MFALevel {
6+
@SerializedName("default")
7+
DEFAULT,
8+
@SerializedName("optional")
9+
OPTIONAL,
10+
@SerializedName("mandatory")
11+
MANDATORY,
12+
@SerializedName("none")
13+
NONE
14+
}

0 commit comments

Comments
 (0)