AuthApi class

Constructors

AuthApi.new(Dio _dio)

Properties

cookies List<String>?
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

checkCode(String code) Future
checkSocials() Future<List<Social>>
checkType() Future<LoginType>
forgotPassword(String email) Future<bool>
getUserInfo() Future
loginCode(String email) Future<bool>
loginPassword(String email, String password, BuildContext context) Future
mfaCheck(String code, bool rememberDevice) Future<bool>
mfaRecover(String code) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refresh() Future
signup(String email, String name, String companyName) Future<bool>
socialLogin(String token, String type) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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