You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`loginProvider`| It sets the OAuth login method to be used. You can use any of the supported values are `GOOGLE`, `FACEBOOK`, `REDDIT`, `DISCORD`, `TWITCH`, `APPLE`, `LINE`, `GITHUB`, `KAKAO`, `LINKEDIN`, `TWITTER`, `WEIBO`, `WECHAT`, `EMAIL_PASSWORDLESS`. |
42
+
|`loginProvider`| It sets the OAuth login method to be used. You can use any of the supported values are `GOOGLE`, `FACEBOOK`, `REDDIT`, `DISCORD`, `TWITCH`, `APPLE`, `LINE`, `GITHUB`, `KAKAO`, `LINKEDIN`, `TWITTER`, `WEIBO`, `WECHAT`, `EMAIL_PASSWORDLESS`, `JWT`, `SMS_PASSWORDLESS`, and `FARCASTER`.|
42
43
|`extraLoginOptions?`| It can be used to set the OAuth login options for corresponding `loginProvider`. For instance, you'll need to pass user's email address as. Default value for the field is `null`, and it accepts `ExtraLoginOptions` as a value. |
43
44
|`redirectUrl?`| Url where user will be redirected after successfull login. By default user will be redirected to same page where login will be initiated. Default value for the field is `null`, and accepts `Uri` as a value. |
44
45
|`appState?`| It can be used to keep track of the app state when user will be redirected to app after login. Default is `null`, and accepts `String` as a value. |
@@ -60,6 +61,43 @@ data class LoginParams(
60
61
valmfaLevel:MFALevel? = null,
61
62
valcurve:Curve? = Curve.SECP256K1
62
63
)
64
+
65
+
enumclassProvider {
66
+
@SerializedName("google")
67
+
GOOGLE,
68
+
@SerializedName("facebook")
69
+
FACEBOOK,
70
+
@SerializedName("reddit")
71
+
REDDIT,
72
+
@SerializedName("discord")
73
+
DISCORD,
74
+
@SerializedName("twitch")
75
+
TWITCH,
76
+
@SerializedName("apple")
77
+
APPLE,
78
+
@SerializedName("line")
79
+
LINE,
80
+
@SerializedName("github")
81
+
GITHUB,
82
+
@SerializedName("kakao")
83
+
KAKAO,
84
+
@SerializedName("linkedin")
85
+
LINKEDIN,
86
+
@SerializedName("twitter")
87
+
TWITTER,
88
+
@SerializedName("weibo")
89
+
WEIBO,
90
+
@SerializedName("wechat")
91
+
WECHAT,
92
+
@SerializedName("email_passwordless")
93
+
EMAIL_PASSWORDLESS,
94
+
@SerializedName("jwt")
95
+
JWT,
96
+
@SerializedName("sms_passwordless")
97
+
SMS_PASSWORDLESS,
98
+
@SerializedName("farcaster")
99
+
FARCASTER
100
+
}
63
101
```
64
102
65
103
</TabItem>
@@ -92,6 +130,8 @@ Use getUserInfo() to get the user info of the user.
0 commit comments