MongoRealmAuth class

MongoRealmAuth manages authentication for any Stitch based client.

Constructors

MongoRealmAuth()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
user → Future<CoreRealmUser?>
no setter

Methods

authListener() → Stream
getAccessToken() → Future<String>
getRefreshToken() → Future<String>
getUserId() → Future<String?>
isLoggedIn() → Future<bool>
linkCredentials(StitchCredential credential) → Future<CoreRealmUser?>
loginWithCredential(StitchCredential credential) → Future<CoreRealmUser?>
Logs in as a user with the given credentials associated with an authentication provider.
logout() → Future<bool?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerWithEmail({required String email, required String password}) → Future<bool>
sendResetPasswordEmail(String? email) → Future<bool>
toString() → String
A string representation of this object.
inherited

Operators

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