AuthRepository class

Constructors

AuthRepository(AuthProvider _authProvider)

Properties

getAuthStatusStream → Stream<AuthStatusEnum>
no setter
hashCode → int
The hash code for this object.
no setterinherited
isAuth → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAuthVkCallback(Map<String, dynamic>? params) → Future<Either<BaseException, void>>
getAuthYandexCallback(Map<String, dynamic>? params) → Future<Either<BaseException, void>>
hardDelete() → Future<Either<BaseException, void>>
login({required String userName, required String password}) → Future<Either<BaseException, AuthProfileModel>>
loginVk() → Future<Either<BaseException, String>>
loginYandex() → Future<Either<BaseException, String>>
logout() → Future<Either<BaseException, void>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendCode({required String phone, required String code}) → Future<Either<BaseException, void>>
sendSms(String phone) → Future<Either<BaseException, Duration>>
softDelete() → Future<Either<BaseException, void>>
toString() → String
A string representation of this object.
inherited

Operators

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