SignInWith2FaResponse
//fluxbase-kotlin/io.github.nimbleflux.fluxbase.auth/SignInWith2FaResponse
SignInWith2FaResponse
Section titled “SignInWith2FaResponse”[jvm]
@Serializable
data class SignInWith2FaResponse(val requires2fa: Boolean, val userId: String, val message: String = "")
Returned by signIn when 2FA is required. Port of SignInWith2FAResponse from sdk/src/types.ts:229.
Constructors
Section titled “Constructors”| SignInWith2FaResponse | [jvm] constructor(requires2fa: Boolean, userId: String, message: String = "") |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| message | [jvm] val message: String |
| requires2fa | [jvm] @SerialName(value = "requires_2fa") val requires2fa: Boolean |
| userId | [jvm] @SerialName(value = "user_id") val userId: String |