mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
21 lines
415 B
Dart
21 lines
415 B
Dart
abstract class AuthState {}
|
|
|
|
class AuthenticationStateInitial extends AuthState {}
|
|
|
|
class AuthenticationInProgress extends AuthState {}
|
|
|
|
class AuthenticatedSuccessfully extends AuthState {}
|
|
|
|
class AuthenticationFailure extends AuthState {
|
|
AuthenticationFailure({this.error});
|
|
|
|
final String error;
|
|
}
|
|
|
|
class AuthenticationBanned extends AuthState {
|
|
AuthenticationBanned({this.error});
|
|
|
|
final String error;
|
|
}
|
|
|