signIn
//fluxbase-kotlin/io.github.nimbleflux.fluxbase.auth/FluxbaseAuth/signIn
signIn
Section titled “signIn”[jvm]
suspend fun signIn(email: String, password: String): FluxbaseResponse<AuthResult>
Sign in with email and password.
POSTs to /api/v1/auth/signin with {email, password}. If the server returns requires_2fa: true, returns an AuthResult with AuthResult.is2faRequired set — the caller should then call verify2FA.
Port of signIn() in auth.ts:265-313.