AuthenticationRepository class
- Mixed in types
Constructors
- AuthenticationRepository({required ITokenLocalDataSource tokenLocalDataSource, required ILoginRemoteDataSource loginRemoteDataSource})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- loginRemoteDataSource → ILoginRemoteDataSource
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
→ Stream<
AuthenticationStatus> -
no setter
- tokenLocalDataSource → ITokenLocalDataSource
-
final
Methods
-
checkCode(
CheckCodeRequest checkCodeRequest) → Future< Either< Failure, AuthenticationInfoEntity> > -
dispose(
) → void -
generateCode(
GenerateCodeRequest generateCodeRequest) → Future< Either< Failure, OtpEntity> > -
logInByPassword(
LoginByPasswordRequest loginByPasswordRequest) → Future< Either< Failure, AuthenticationInfoEntity> > -
loginForSalesRepClient(
int id) → Future< Either< Failure, void> > -
logOut(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request<
K> (Future< K> request()) → Future<Either< Failure, K> > -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited