Handle web finger to get token in HomeController
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -9,11 +9,16 @@ class GetTokenOIDCSuccess extends UIState {
|
||||
|
||||
final TokenOIDC tokenOIDC;
|
||||
final OIDCConfiguration configuration;
|
||||
final Uri baseUri;
|
||||
|
||||
GetTokenOIDCSuccess(this.tokenOIDC, this.configuration);
|
||||
GetTokenOIDCSuccess(
|
||||
this.tokenOIDC,
|
||||
this.configuration,
|
||||
this.baseUri,
|
||||
);
|
||||
|
||||
@override
|
||||
List<Object> get props => [tokenOIDC, configuration];
|
||||
List<Object> get props => [tokenOIDC, configuration, baseUri];
|
||||
}
|
||||
|
||||
class GetTokenOIDCFailure extends FeatureFailure {
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
|
||||
class RemovingAuthDestinationUrl extends LoadingState {}
|
||||
|
||||
class RemoveAuthDestinationUrlSuccess extends UIState {}
|
||||
|
||||
class RemoveAuthDestinationUrlFailure extends FeatureFailure {
|
||||
RemoveAuthDestinationUrlFailure(dynamic exception)
|
||||
: super(exception: exception);
|
||||
}
|
||||
Reference in New Issue
Block a user