AuthModule class
Constructors
- AuthModule({required D2TouchModel d2Instance})
Properties
- d2Instance ↔ D2TouchModel
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isAuthenticated(
) → Future< bool> -
logIn(
{required String username, required String password, required String url, Dio? dioTestClient}) → Future< LoginResponseStatus> -
logOut(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setToken(
{required String instanceUrl, required Map< String, dynamic> userObject, required Map<String, dynamic> tokenObject, Dio? dioTestClient}) → Future<LoginResponseStatus> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited