DizzbaseAuthentication class

Constructors

DizzbaseAuthentication()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

currentUser DizzbaseLoginData?
no setter

Static Methods

deleteUser(String emailOrName) Future<void>
getUserID(String emailOrName) Future<int>
insertUser(String newName, String newEmail, String newRole, String newPwd, bool verified) Future<int>
login({String userName = "", String email = "", String password = "", String authType = 'local'}) Future<DizzbaseLoginResult>
Login via dizzbase authentication
logout() → void
updateUser(int id, String newName, String newEmail, String newRole, String newPwd, bool verified) Future<void>