This commit is contained in:
Adam Velebil 2022-07-22 10:18:10 +02:00
commit 90b1c2e14c
No known key found for this signature in database
GPG Key ID: AC6D6B9D715FC084
15 changed files with 67 additions and 40 deletions

View File

@ -1,4 +1,4 @@
// Autogenerated from Pigeon (v3.1.6), do not edit directly. // Autogenerated from Pigeon (v3.2.4), do not edit directly.
// See also: https://pub.dev/packages/pigeon // See also: https://pub.dev/packages/pigeon
package com.yubico.authenticator.api; package com.yubico.authenticator.api;

View File

@ -1,7 +1,6 @@
// Autogenerated from Pigeon (v3.1.6), do not edit directly. // Autogenerated from Pigeon (v3.2.4), do not edit directly.
// See also: https://pub.dev/packages/pigeon // See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name // ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import
// @dart = 2.12
import 'dart:async'; import 'dart:async';
import 'dart:typed_data' show Uint8List, Int32List, Int64List, Float64List; import 'dart:typed_data' show Uint8List, Int32List, Int64List, Float64List;

0
lib/app/models.freezed.dart Executable file → Normal file
View File

0
lib/core/models.freezed.dart Executable file → Normal file
View File

0
lib/core/models.g.dart Executable file → Normal file
View File

16
lib/desktop/models.freezed.dart Executable file → Normal file
View File

@ -262,7 +262,9 @@ class _$Success implements Success {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$SuccessToJson(this); return _$$SuccessToJson(
this,
);
} }
} }
@ -436,7 +438,9 @@ class _$Signal implements Signal {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$SignalToJson(this); return _$$SignalToJson(
this,
);
} }
} }
@ -623,7 +627,9 @@ class _$RpcError implements RpcError {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$RpcErrorToJson(this); return _$$RpcErrorToJson(
this,
);
} }
} }
@ -769,7 +775,9 @@ class _$_RpcState implements _RpcState {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_RpcStateToJson(this); return _$$_RpcStateToJson(
this,
);
} }
} }

0
lib/desktop/models.g.dart Executable file → Normal file
View File

12
lib/fido/models.freezed.dart Executable file → Normal file
View File

@ -148,7 +148,9 @@ class _$_FidoState extends _FidoState {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_FidoStateToJson(this); return _$$_FidoStateToJson(
this,
);
} }
} }
@ -607,7 +609,9 @@ class _$_Fingerprint extends _Fingerprint {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_FingerprintToJson(this); return _$$_FingerprintToJson(
this,
);
} }
} }
@ -1289,7 +1293,9 @@ class _$_FidoCredential implements _FidoCredential {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_FidoCredentialToJson(this); return _$$_FidoCredentialToJson(
this,
);
} }
} }

0
lib/fido/models.g.dart Executable file → Normal file
View File

8
lib/management/models.freezed.dart Executable file → Normal file
View File

@ -193,7 +193,9 @@ class _$_DeviceConfig implements _DeviceConfig {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_DeviceConfigToJson(this); return _$$_DeviceConfigToJson(
this,
);
} }
} }
@ -494,7 +496,9 @@ class _$_DeviceInfo implements _DeviceInfo {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_DeviceInfoToJson(this); return _$$_DeviceInfoToJson(
this,
);
} }
} }

6
lib/management/models.g.dart Executable file → Normal file
View File

@ -19,7 +19,7 @@ _$_DeviceConfig _$$_DeviceConfigFromJson(Map<String, dynamic> json) =>
Map<String, dynamic> _$$_DeviceConfigToJson(_$_DeviceConfig instance) => Map<String, dynamic> _$$_DeviceConfigToJson(_$_DeviceConfig instance) =>
<String, dynamic>{ <String, dynamic>{
'enabled_capabilities': instance.enabledCapabilities 'enabled_capabilities': instance.enabledCapabilities
.map((k, e) => MapEntry(_$TransportEnumMap[k], e)), .map((k, e) => MapEntry(_$TransportEnumMap[k]!, e)),
'auto_eject_timeout': instance.autoEjectTimeout, 'auto_eject_timeout': instance.autoEjectTimeout,
'challenge_response_timeout': instance.challengeResponseTimeout, 'challenge_response_timeout': instance.challengeResponseTimeout,
'device_flags': instance.deviceFlags, 'device_flags': instance.deviceFlags,
@ -49,9 +49,9 @@ Map<String, dynamic> _$$_DeviceInfoToJson(_$_DeviceInfo instance) =>
'config': instance.config, 'config': instance.config,
'serial': instance.serial, 'serial': instance.serial,
'version': instance.version, 'version': instance.version,
'form_factor': _$FormFactorEnumMap[instance.formFactor], 'form_factor': _$FormFactorEnumMap[instance.formFactor]!,
'supported_capabilities': instance.supportedCapabilities 'supported_capabilities': instance.supportedCapabilities
.map((k, e) => MapEntry(_$TransportEnumMap[k], e)), .map((k, e) => MapEntry(_$TransportEnumMap[k]!, e)),
'is_locked': instance.isLocked, 'is_locked': instance.isLocked,
'is_fips': instance.isFips, 'is_fips': instance.isFips,
'is_sky': instance.isSky, 'is_sky': instance.isSky,

20
lib/oath/models.freezed.dart Executable file → Normal file
View File

@ -235,7 +235,9 @@ class _$_OathCredential implements _OathCredential {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_OathCredentialToJson(this); return _$$_OathCredentialToJson(
this,
);
} }
} }
@ -413,7 +415,9 @@ class _$_OathCode implements _OathCode {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_OathCodeToJson(this); return _$$_OathCodeToJson(
this,
);
} }
} }
@ -588,7 +592,9 @@ class _$_OathPair implements _OathPair {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_OathPairToJson(this); return _$$_OathPairToJson(
this,
);
} }
} }
@ -823,7 +829,9 @@ class _$_OathState implements _OathState {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_OathStateToJson(this); return _$$_OathStateToJson(
this,
);
} }
} }
@ -1106,7 +1114,9 @@ class _$_CredentialData extends _CredentialData {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_CredentialDataToJson(this); return _$$_CredentialDataToJson(
this,
);
} }
} }

8
lib/oath/models.g.dart Executable file → Normal file
View File

@ -23,7 +23,7 @@ Map<String, dynamic> _$$_OathCredentialToJson(_$_OathCredential instance) =>
'id': instance.id, 'id': instance.id,
'issuer': instance.issuer, 'issuer': instance.issuer,
'name': instance.name, 'name': instance.name,
'oath_type': _$OathTypeEnumMap[instance.oathType], 'oath_type': _$OathTypeEnumMap[instance.oathType]!,
'period': instance.period, 'period': instance.period,
'touch_required': instance.touchRequired, 'touch_required': instance.touchRequired,
}; };
@ -75,7 +75,7 @@ Map<String, dynamic> _$$_OathStateToJson(_$_OathState instance) =>
'has_key': instance.hasKey, 'has_key': instance.hasKey,
'remembered': instance.remembered, 'remembered': instance.remembered,
'locked': instance.locked, 'locked': instance.locked,
'keystore': _$KeystoreStateEnumMap[instance.keystore], 'keystore': _$KeystoreStateEnumMap[instance.keystore]!,
}; };
const _$KeystoreStateEnumMap = { const _$KeystoreStateEnumMap = {
@ -104,8 +104,8 @@ Map<String, dynamic> _$$_CredentialDataToJson(_$_CredentialData instance) =>
'issuer': instance.issuer, 'issuer': instance.issuer,
'name': instance.name, 'name': instance.name,
'secret': instance.secret, 'secret': instance.secret,
'oath_type': _$OathTypeEnumMap[instance.oathType], 'oath_type': _$OathTypeEnumMap[instance.oathType]!,
'hash_algorithm': _$HashAlgorithmEnumMap[instance.hashAlgorithm], 'hash_algorithm': _$HashAlgorithmEnumMap[instance.hashAlgorithm]!,
'digits': instance.digits, 'digits': instance.digits,
'period': instance.period, 'period': instance.period,
'counter': instance.counter, 'counter': instance.counter,

View File

@ -56,7 +56,7 @@ packages:
name: build_config name: build_config
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.0" version: "1.1.0"
build_daemon: build_daemon:
dependency: transitive dependency: transitive
description: description:
@ -77,7 +77,7 @@ packages:
name: build_runner name: build_runner
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.11" version: "2.2.0"
build_runner_core: build_runner_core:
dependency: transitive dependency: transitive
description: description:
@ -98,7 +98,7 @@ packages:
name: built_value name: built_value
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "8.3.3" version: "8.4.0"
characters: characters:
dependency: transitive dependency: transitive
description: description:
@ -244,14 +244,14 @@ packages:
name: freezed name: freezed
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.4" version: "2.1.0+1"
freezed_annotation: freezed_annotation:
dependency: "direct main" dependency: "direct main"
description: description:
name: freezed_annotation name: freezed_annotation
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.3" version: "2.1.0"
frontend_server_client: frontend_server_client:
dependency: transitive dependency: transitive
description: description:
@ -317,14 +317,14 @@ packages:
name: json_annotation name: json_annotation
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.5.0" version: "4.6.0"
json_serializable: json_serializable:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: json_serializable name: json_serializable
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "6.2.0" version: "6.3.1"
lints: lints:
dependency: transitive dependency: transitive
description: description:
@ -408,7 +408,7 @@ packages:
name: pigeon name: pigeon
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.2.3" version: "3.2.4"
platform: platform:
dependency: transitive dependency: transitive
description: description:
@ -644,7 +644,7 @@ packages:
name: url_launcher name: url_launcher
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "6.1.4" version: "6.1.5"
url_launcher_android: url_launcher_android:
dependency: transitive dependency: transitive
description: description:

View File

@ -43,13 +43,13 @@ dependencies:
collection: ^1.16.0 collection: ^1.16.0
shared_preferences: ^2.0.12 shared_preferences: ^2.0.12
flutter_riverpod: ^1.0.0 flutter_riverpod: ^1.0.0
json_annotation: ^4.5.0 json_annotation: ^4.6.0
freezed_annotation: ^2.0.3 freezed_annotation: ^2.0.3
window_manager: ^0.2.0 window_manager: ^0.2.0
qrscanner_zxing: qrscanner_zxing:
path: android/flutter_plugins/qrscanner_zxing path: android/flutter_plugins/qrscanner_zxing
desktop_drop: ^0.3.3 desktop_drop: ^0.3.3
url_launcher: ^6.1.2 url_launcher: ^6.1.5
dev_dependencies: dev_dependencies:
integration_test: integration_test:
@ -64,10 +64,10 @@ dev_dependencies:
# rules and activating additional ones. # rules and activating additional ones.
flutter_lints: ^2.0.1 flutter_lints: ^2.0.1
build_runner: ^2.1.4 build_runner: ^2.2.0
freezed: ^2.0.3 freezed: ^2.1.0+1
json_serializable: ^6.0.0 json_serializable: ^6.3.1
pigeon: ^3.1.6 pigeon: ^3.2.4
# For information on the generic Dart part of this file, see the # For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec # following page: https://dart.dev/tools/pub/pubspec