2020-01-04 19:31:52 +00:00
|
|
|
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;
|
2020-01-08 12:26:34 +00:00
|
|
|
}
|
2020-01-04 19:31:52 +00:00
|
|
|
|
2020-01-08 12:26:34 +00:00
|
|
|
class AuthenticationBanned extends AuthState {
|
2020-01-04 19:31:52 +00:00
|
|
|
AuthenticationBanned({this.error});
|
2020-01-08 12:26:34 +00:00
|
|
|
|
|
|
|
final String error;
|
2020-01-04 19:31:52 +00:00
|
|
|
}
|
|
|
|
|