TF-3826 Try guessing webfinger when dns look up fail
This commit is contained in:
@@ -13,6 +13,10 @@ class DNSLookupToGetJmapUrlSuccess extends UIState {
|
||||
}
|
||||
|
||||
class DNSLookupToGetJmapUrlFailure extends FeatureFailure {
|
||||
DNSLookupToGetJmapUrlFailure(
|
||||
dynamic exception, {
|
||||
required this.email,
|
||||
}) : super(exception: exception);
|
||||
|
||||
DNSLookupToGetJmapUrlFailure(dynamic exception) : super(exception: exception);
|
||||
final String email;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:model/oidc/response/oidc_response.dart';
|
||||
|
||||
class TryingGuessingWebFinger extends LoadingState {}
|
||||
|
||||
class TryGuessingWebFingerSuccess extends UIState {
|
||||
TryGuessingWebFingerSuccess(this.oidcResponse);
|
||||
|
||||
final OIDCResponse oidcResponse;
|
||||
|
||||
@override
|
||||
List<Object?> get props => [oidcResponse];
|
||||
}
|
||||
|
||||
class TryGuessingWebFingerFailure extends FeatureFailure {
|
||||
TryGuessingWebFingerFailure({super.exception});
|
||||
}
|
||||
Reference in New Issue
Block a user