FakeAuthRepository
In-memory AuthRepository fake. Every sign-in succeeds with a deterministic user unless nextFailure is set, in which case the next call fails with it (once). Sign-in state is observable through authStateFlow, so it drives an AuthSessionInitializer end to end.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun createAccountWithEmailAndPassword(email: String, password: String): Result<AuthUser>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun signInWithEmailAndPassword(email: String, password: String): Result<AuthUser>
Link copied to clipboard