AuthLoginController class

Implemented types
Annotations
  • @Injectable.new(as: IAuthLoginController)

Constructors

AuthLoginController(IAuthRemoteRepository iAuthRemoteRepository, ISessionManager iSessionManager, IAppManager appManager)

Properties

appManager IAppManager
final
hashCode int
The hash code for this object.
no setterinherited
iAuthRemoteRepository IAuthRemoteRepository
final
iSessionManager ISessionManager
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

authLogin({String? email, required String password, String? phone, String? role}) Future<LoginModel>
override
changeForgotPassword({String? newPassword, String? oldPassword, String? token}) Future<ForgotPasswordPinVerificationResponseModel>
override
checkUsername({String? username}) Future<GlobalResponseModel>
override
forgotPassword({String? newPassword, String? token}) Future<ForgotPasswordPinVerificationResponseModel>
override
getOtp({String? token}) Future<GlobalResponseModel>
override
loginWithFacebook() Future<SocialModel>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerBiometric({required String publicKey, required String deviceId}) Future<BiometricRegisterResponseModel>
override
registerUser({String? username, String? name, String? email, String? phone, String? address, required String password, String? role, String? subRole, String? schoolId, String? panel}) Future<LoginModel>
override
resetPasswordByEmail({required ForgotPasswordPinVerificationRequestModel model}) Future<ForgotPasswordPinVerificationResponseModel>
override
resetPasswordByPhone({required String phone}) Future<ForgotPasswordPinVerificationResponseModel>
override
toString() String
A string representation of this object.
inherited
verifyForgotPasswordOtp({int? otpCode, bool navigateToHome = false, String? key}) Future<ForgotPasswordPinVerificationResponseModel>
override
verifyOtp({int? otpCode}) Future<GlobalResponseModel>
override

Operators

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