InqvineAuthService class

Common authentication methods used by Firebase.

Inheritance
  • Object
  • InqvineServiceBase
  • InqvineAuthService

Properties

currentUser User?
no setter
hashCode int
The hash code for this object.
no setterinherited
isLoggedIn bool
no setter
isServiceInitialized bool
no setterinherited
performedInitialAuthCheck bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
override
initializeService() Future<void>
Initializes the InqvineAuthService and starts listening to Firebase for user state changes. Will set performedInitialAuthCheck when the first user check returns
override
loginWithEmailPassword(String email, String password) Future<void>
Authenticates with email and password. currentUser is set upon return.
logout() Future<void>
Logout for the current firebase instance. If already logged out, will print error and return.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signUpWithEmailPassword(String email, String password) Future<void>
Creates a new user with email and password. currentUser is set upon return.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance InqvineAuthService
no setter