cake_wallet/lib/core/auth_state.dart
2022-10-12 13:09:57 -04:00

20 lines
433 B
Dart

abstract class AuthState {}
class AuthenticationStateInitial extends AuthState {}
class AuthenticationInProgress extends AuthState {}
class AuthenticatedSuccessfully extends AuthState {}
class AuthenticationFailure extends AuthState {
AuthenticationFailure({required this.error});
final String error;
}
class AuthenticationBanned extends AuthState {
AuthenticationBanned({required this.error});
final String error;
}