Skip to content

Commit 024a096

Browse files
committed
feat: update ExtraLoginOptions.kt
Signed-off-by: Gaurav Goel <[email protected]>
1 parent 7c5ee70 commit 024a096

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.web3auth.core.types
22

33
import androidx.annotation.Keep
4+
import com.google.gson.annotations.SerializedName
45
import java.io.Serializable
56

67
@Keep
@@ -9,8 +10,10 @@ data class ExtraLoginOptions(
910
@Keep private var domain: String? = null,
1011
@Keep private var client_id: String? = null,
1112
@Keep private var leeway: String? = null,
12-
@Keep private var verifierIdField: String? = null,
13-
@Keep private var isVerifierIdCaseSensitive: Boolean? = null,
13+
@Keep private var userIdField: String? = null,
14+
@Keep private var isUserIdCaseSensitive: Boolean? = null,
15+
@Keep private var access_token: String? = null,
16+
@Keep private var flow_type: EMAIL_FLOW = EMAIL_FLOW.link,
1417
@Keep private var display: Display? = null,
1518
@Keep private var prompt: Prompt? = null,
1619
@Keep private var max_age: String? = null,
@@ -27,3 +30,12 @@ data class ExtraLoginOptions(
2730
@Keep private var nonce: String? = null,
2831
@Keep private var redirect_uri: String? = null
2932
) : Serializable
33+
34+
@Keep
35+
enum class EMAIL_FLOW {
36+
@SerializedName("link")
37+
link,
38+
39+
@SerializedName("code")
40+
code,
41+
}

0 commit comments

Comments
 (0)