mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-14 12:43:16 +00:00
37 lines
880 B
Dart
37 lines
880 B
Dart
part of 'tokens_bloc.dart';
|
|
|
|
sealed class TokensEvent extends Equatable {
|
|
const TokensEvent();
|
|
}
|
|
|
|
class RevalidateTokens extends TokensEvent {
|
|
const RevalidateTokens();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class AddServerProviderToken extends TokensEvent {
|
|
const AddServerProviderToken(this.serverProviderCredential);
|
|
|
|
final ServerProviderCredential serverProviderCredential;
|
|
|
|
@override
|
|
List<Object> get props => [serverProviderCredential];
|
|
}
|
|
|
|
class ServerSelectedForProviderToken extends TokensEvent {
|
|
const ServerSelectedForProviderToken(
|
|
this.providerServer,
|
|
this.server,
|
|
this.serverProviderCredential,
|
|
);
|
|
|
|
final ServerBasicInfoWithValidators providerServer;
|
|
final Server server;
|
|
final ServerProviderCredential serverProviderCredential;
|
|
|
|
@override
|
|
List<Object> get props => [providerServer, server, serverProviderCredential];
|
|
}
|