TF-606 Implement store/get authority oidc
This commit is contained in:
@@ -1,19 +1,21 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:model/oidc/oidc_configuration.dart';
|
||||
import 'package:model/oidc/token_oidc.dart';
|
||||
|
||||
class GetStoredTokenOidcSuccess extends UIState {
|
||||
final Uri baseUrl;
|
||||
final TokenOIDC tokenOidc;
|
||||
final OIDCConfiguration oidcConfiguration;
|
||||
|
||||
GetStoredTokenOidcSuccess(this.baseUrl, this.tokenOidc);
|
||||
GetStoredTokenOidcSuccess(this.baseUrl, this.tokenOidc, this.oidcConfiguration);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [baseUrl, tokenOidc];
|
||||
List<Object?> get props => [baseUrl, tokenOidc, oidcConfiguration];
|
||||
}
|
||||
|
||||
class GetStoredTokenOidcFailure extends FeatureFailure {
|
||||
final exception;
|
||||
final dynamic exception;
|
||||
|
||||
GetStoredTokenOidcFailure(this.exception);
|
||||
|
||||
@@ -22,4 +24,4 @@ class GetStoredTokenOidcFailure extends FeatureFailure {
|
||||
|
||||
@override
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user