| 1 | abstract class AuthState {} |
| 2 | |
| 3 | class AuthenticationStateInitial extends AuthState {} |
| 4 | |
| 5 | class AuthenticationInProgress extends AuthState {} |
| 6 | |
| 7 | class AuthenticatedSuccessfully extends AuthState {} |
| 8 | |
| 9 | class AuthenticationFailure extends AuthState { |
| 10 | AuthenticationFailure({required this.error}); |
| 11 | |
| 12 | final String error; |
| 13 | } |
| 14 | |
| 15 | class AuthenticationBanned extends AuthState { |
| 16 | AuthenticationBanned({required this.error}); |
| 17 | |
| 18 | final String error; |
| 19 | } |