AuthRestClient class

Thin client over the two Identity Toolkit endpoints the password login flow needs. Takes its Dio by constructor injection so tests can swap in a FakeAdapter (test/helpers/fake_adapter.dart).

Constructors

AuthRestClient({Dio? dio})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

lookup(String idToken) → Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendVerificationEmail(String idToken) → Future<void>
signInWithPassword(String email, String password) → Future<SignInResult>
signUp(String email, String password) → Future<SignInResult>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited