From fc2b5defa90a538106e3c6e7f3493271cb27c0d8 Mon Sep 17 00:00:00 2001 From: MounataHaque <128681326+MounataHaque@users.noreply.github.com> Date: Mon, 2 Dec 2024 01:30:08 +0000 Subject: [PATCH] ExtraCreditChanges --- .dart_tool/package_config.json | 268 +++--- .dart_tool/package_config_subset | 401 +++++++++ .dart_tool/version | 1 + firebase-dart-admin-auth-sdk/bin/main.dart | 27 + ...ign_in_with_email_and_password_screen.dart | 3 + .../sign_up_screen/sign_up_screen.dart | 2 + .../update_profile_screen.dart | 4 +- .../lib/shared/action_tile.dart | 51 +- .../lib/shared/input_field.dart | 21 +- .../pubspec.lock | 36 +- .../create_user_with_email_and_password.dart | 3 + .../lib/src/auth/reload_user.dart | 3 + .../lib/src/auth/sign_in_anonymously.dart | 3 + .../lib/src/auth/sign_out_auth.dart | 3 + .../firebase_user/firebase_user_service.dart | 37 + .../lib/src/utils.dart | 74 +- firebase-dart-admin-auth-sdk/pubspec.yaml | 28 - flutter | 1 + pubspec.lock | 794 ++++++++++++++++++ pubspec.yaml | 25 + 20 files changed, 1556 insertions(+), 229 deletions(-) create mode 100644 .dart_tool/package_config_subset create mode 100644 .dart_tool/version create mode 100644 firebase-dart-admin-auth-sdk/lib/src/firebase_user/firebase_user_service.dart delete mode 100644 firebase-dart-admin-auth-sdk/pubspec.yaml create mode 160000 flutter create mode 100644 pubspec.lock create mode 100644 pubspec.yaml diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index fd9c2d0f..6a085154 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -3,571 +3,595 @@ "packages": [ { "name": "_fe_analyzer_shared", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-73.0.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-73.0.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "_macros", - "rootUri": "file:///usr/local/Cellar/dart/3.5.2/libexec/pkg/_macros", + "rootUri": "file:///home/codespace/flutter/bin/cache/dart-sdk/pkg/_macros", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "analyzer", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/analyzer-6.8.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/analyzer-6.8.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "ansicolor", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/ansicolor-2.0.3", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/ansicolor-2.0.3", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "archive", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/archive-3.6.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/archive-3.6.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "args", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/args-2.5.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/args-2.6.0", + "packageUri": "lib/", + "languageVersion": "3.3" + }, + { + "name": "asn1lib", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/asn1lib-1.5.8", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "async", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/async-2.11.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/async-2.12.0", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.4" }, { "name": "bazel_worker", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/bazel_worker-1.1.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/bazel_worker-1.1.2", "packageUri": "lib/", - "languageVersion": "2.19" + "languageVersion": "3.1" }, { "name": "boolean_selector", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/boolean_selector-2.1.2", "packageUri": "lib/", - "languageVersion": "2.17" + "languageVersion": "3.1" }, { "name": "build", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/build-2.4.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/build-2.4.1", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "build_config", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/build_config-1.1.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/build_config-1.1.1", "packageUri": "lib/", "languageVersion": "2.14" }, { "name": "build_daemon", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/build_daemon-4.0.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/build_daemon-4.0.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "build_modules", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/build_modules-5.0.9", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/build_modules-5.0.9", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "build_resolvers", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/build_resolvers-2.4.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/build_resolvers-2.4.2", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "build_runner", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/build_runner-2.4.12", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/build_runner-2.4.13", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "build_runner_core", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/build_runner_core-7.3.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/build_runner_core-7.3.2", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "build_test", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/build_test-2.2.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/build_test-2.2.2", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "build_web_compilers", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/build_web_compilers-4.0.11", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/build_web_compilers-4.0.11", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "built_collection", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/built_collection-5.1.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/built_collection-5.1.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "built_value", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/built_value-8.9.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/built_value-8.9.2", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "characters", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/characters-1.3.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/characters-1.3.1", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.4" }, { "name": "checked_yaml", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/checked_yaml-2.0.3", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/checked_yaml-2.0.3", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "clock", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/clock-1.1.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/clock-1.1.2", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.4" }, { "name": "code_builder", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/code_builder-4.10.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/code_builder-4.10.1", "packageUri": "lib/", - "languageVersion": "3.0" + "languageVersion": "3.5" }, { "name": "collection", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/collection-1.19.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/collection-1.19.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "convert", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/convert-3.1.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/convert-3.1.2", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.4" }, { "name": "coverage", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/coverage-1.9.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/coverage-1.11.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "crypto", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/crypto-3.0.5", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/crypto-3.0.6", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "csslib", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/csslib-1.0.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/csslib-1.0.2", "packageUri": "lib/", - "languageVersion": "2.19" + "languageVersion": "3.1" }, { "name": "dart_style", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/dart_style-2.3.6", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/dart_style-2.3.7", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "ds_standard_features", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/ds_standard_features-0.0.1-pre+11", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/ds_standard_features-0.0.1-pre+11", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "ds_tools_testing", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/ds_tools_testing-0.0.1-pre+2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/ds_tools_testing-0.0.1-pre+2", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "fake_async", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/fake_async-1.3.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/fake_async-1.3.2", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.3" }, { "name": "file", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/file-7.0.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/file-7.0.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "fixnum", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/fixnum-1.1.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/fixnum-1.1.1", "packageUri": "lib/", - "languageVersion": "2.19" + "languageVersion": "3.1" }, { "name": "freezed_annotation", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/freezed_annotation-2.4.4", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/freezed_annotation-2.4.4", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "frontend_server_client", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/frontend_server_client-4.0.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/frontend_server_client-4.0.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "glob", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/glob-2.1.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/glob-2.1.2", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "graphs", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/graphs-2.3.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/graphs-2.3.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "html", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/html-0.15.4", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/html-0.15.5", "packageUri": "lib/", - "languageVersion": "2.19" + "languageVersion": "3.2" }, { "name": "http", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/http-1.2.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/http-1.2.2", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "http2", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/http2-2.3.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/http2-2.3.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "http_multi_server", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/http_multi_server-3.2.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/http_multi_server-3.2.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "http_parser", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/http_parser-4.1.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/http_parser-4.1.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "intl", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/intl-0.19.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/intl-0.19.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "intl_translation", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/intl_translation-0.20.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/intl_translation-0.20.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "io", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/io-1.0.4", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/io-1.0.4", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "js", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/js-0.7.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/js-0.7.1", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "json_annotation", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/json_annotation-4.9.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/json_annotation-4.9.0", "packageUri": "lib/", "languageVersion": "3.0" }, + { + "name": "jwt_generator", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/jwt_generator-0.0.3", + "packageUri": "lib/", + "languageVersion": "3.5" + }, { "name": "lints", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/lints-4.0.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/lints-4.0.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "logging", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/logging-1.2.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/logging-1.3.0", "packageUri": "lib/", - "languageVersion": "2.19" + "languageVersion": "3.4" }, { "name": "macros", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/macros-0.1.2-main.4", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/macros-0.1.2-main.4", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "matcher", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/matcher-0.12.16+1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/matcher-0.12.16+1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "meta", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/meta-1.15.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/meta-1.16.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "mime", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/mime-1.0.5", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/mime-2.0.0", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "mockito", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/mockito-5.4.4", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/mockito-5.4.4", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "mocktail", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/mocktail-1.0.4", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/mocktail-1.0.4", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "node_preamble", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/node_preamble-2.0.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/node_preamble-2.0.2", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "os_detect", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/os_detect-2.0.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/os_detect-2.0.2", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.0" }, { "name": "package_config", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/package_config-2.1.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/package_config-2.1.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "path", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/path-1.9.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/path-1.9.1", "packageUri": "lib/", - "languageVersion": "3.0" + "languageVersion": "3.4" + }, + { + "name": "pointycastle", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/pointycastle-3.9.1", + "packageUri": "lib/", + "languageVersion": "3.2" }, { "name": "pool", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/pool-1.5.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/pool-1.5.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "protobuf", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/protobuf-3.1.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/protobuf-3.1.0", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "pub_semver", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/pub_semver-2.1.4", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/pub_semver-2.1.4", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "pubspec_parse", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/pubspec_parse-1.3.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/pubspec_parse-1.3.0", + "packageUri": "lib/", + "languageVersion": "3.0" + }, + { + "name": "rsa_pkcs", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/rsa_pkcs-2.1.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "scratch_space", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/scratch_space-1.0.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/scratch_space-1.0.2", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "shelf", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/shelf-1.4.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/shelf-1.4.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "shelf_packages_handler", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/shelf_packages_handler-3.0.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/shelf_packages_handler-3.0.2", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "shelf_static", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/shelf_static-1.1.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/shelf_static-1.1.3", "packageUri": "lib/", - "languageVersion": "2.17" + "languageVersion": "3.3" }, { "name": "shelf_web_socket", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/shelf_web_socket-2.0.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/shelf_web_socket-2.0.1", "packageUri": "lib/", - "languageVersion": "3.0" + "languageVersion": "3.3" }, { "name": "source_gen", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/source_gen-1.5.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/source_gen-1.5.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "source_map_stack_trace", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/source_map_stack_trace-2.1.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/source_map_stack_trace-2.1.2", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.3" }, { "name": "source_maps", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/source_maps-0.10.12", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/source_maps-0.10.12", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "source_span", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/source_span-1.10.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/source_span-1.10.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "sprintf", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/sprintf-7.0.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/sprintf-7.0.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "stack_trace", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/stack_trace-1.11.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/stack_trace-1.12.0", "packageUri": "lib/", - "languageVersion": "2.18" + "languageVersion": "3.4" }, { "name": "stream_channel", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/stream_channel-2.1.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/stream_channel-2.1.2", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "stream_transform", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/stream_transform-2.1.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/stream_transform-2.1.0", "packageUri": "lib/", "languageVersion": "2.14" }, { "name": "string_scanner", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/string_scanner-1.3.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/string_scanner-1.4.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "term_glyph", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/term_glyph-1.2.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/term_glyph-1.2.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "test", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/test-1.25.8", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/test-1.25.9", "packageUri": "lib/", - "languageVersion": "3.4" + "languageVersion": "3.5" }, { "name": "test_api", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/test_api-0.7.3", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/test_api-0.7.4", "packageUri": "lib/", - "languageVersion": "3.4" + "languageVersion": "3.5" }, { "name": "test_core", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/test_core-0.6.5", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/test_core-0.6.6", "packageUri": "lib/", - "languageVersion": "3.4" + "languageVersion": "3.5" }, { "name": "test_reporter", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/test_reporter-1.1.3", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/test_reporter-1.1.5", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "timing", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/timing-1.0.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/timing-1.0.1", "packageUri": "lib/", "languageVersion": "2.14" }, { "name": "typed_data", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/typed_data-1.3.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/typed_data-1.4.0", "packageUri": "lib/", - "languageVersion": "2.17" + "languageVersion": "3.5" }, { "name": "universal_io", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/universal_io-2.2.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/universal_io-2.2.2", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "uuid", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/uuid-4.4.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/uuid-4.5.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "vm_service", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/vm_service-14.2.5", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/vm_service-14.3.1", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "watcher", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/watcher-1.1.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/watcher-1.1.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "web", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/web-1.0.0", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/web-1.1.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "web_socket", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/web_socket-0.1.6", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/web_socket-0.1.6", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "web_socket_channel", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/web_socket_channel-3.0.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/web_socket_channel-3.0.1", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "webkit_inspection_protocol", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "yaml", - "rootUri": "file:///Users/user/.pub-cache/hosted/pub.dev/yaml-3.1.2", + "rootUri": "file:///home/codespace/.pub-cache/hosted/pub.dev/yaml-3.1.2", "packageUri": "lib/", "languageVersion": "2.19" }, @@ -575,11 +599,13 @@ "name": "firebase_dart_admin_auth_sdk", "rootUri": "../", "packageUri": "lib/", - "languageVersion": "3.4" + "languageVersion": "3.0" } ], - "generated": "2024-09-10T07:02:46.070673Z", + "generated": "2024-12-01T23:29:39.791639Z", "generator": "pub", - "generatorVersion": "3.5.2", - "pubCache": "file:///Users/user/.pub-cache" + "generatorVersion": "3.5.4", + "flutterRoot": "file:///home/codespace/flutter", + "flutterVersion": "3.24.5", + "pubCache": "file:///home/codespace/.pub-cache" } diff --git a/.dart_tool/package_config_subset b/.dart_tool/package_config_subset new file mode 100644 index 00000000..9954d36b --- /dev/null +++ b/.dart_tool/package_config_subset @@ -0,0 +1,401 @@ +_fe_analyzer_shared +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-73.0.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-73.0.0/lib/ +analyzer +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/analyzer-6.8.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/analyzer-6.8.0/lib/ +ansicolor +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/ansicolor-2.0.3/ +file:///home/codespace/.pub-cache/hosted/pub.dev/ansicolor-2.0.3/lib/ +archive +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/archive-3.6.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/archive-3.6.1/lib/ +args +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/args-2.6.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/args-2.6.0/lib/ +asn1lib +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/asn1lib-1.5.8/ +file:///home/codespace/.pub-cache/hosted/pub.dev/asn1lib-1.5.8/lib/ +async +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/async-2.12.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/async-2.12.0/lib/ +bazel_worker +3.1 +file:///home/codespace/.pub-cache/hosted/pub.dev/bazel_worker-1.1.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/bazel_worker-1.1.2/lib/ +boolean_selector +3.1 +file:///home/codespace/.pub-cache/hosted/pub.dev/boolean_selector-2.1.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/boolean_selector-2.1.2/lib/ +build +2.19 +file:///home/codespace/.pub-cache/hosted/pub.dev/build-2.4.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/build-2.4.1/lib/ +build_config +2.14 +file:///home/codespace/.pub-cache/hosted/pub.dev/build_config-1.1.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/build_config-1.1.1/lib/ +build_daemon +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/build_daemon-4.0.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/build_daemon-4.0.2/lib/ +build_modules +3.5 +file:///home/codespace/.pub-cache/hosted/pub.dev/build_modules-5.0.9/ +file:///home/codespace/.pub-cache/hosted/pub.dev/build_modules-5.0.9/lib/ +build_resolvers +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/build_resolvers-2.4.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/build_resolvers-2.4.2/lib/ +build_runner +3.5 +file:///home/codespace/.pub-cache/hosted/pub.dev/build_runner-2.4.13/ +file:///home/codespace/.pub-cache/hosted/pub.dev/build_runner-2.4.13/lib/ +build_runner_core +3.5 +file:///home/codespace/.pub-cache/hosted/pub.dev/build_runner_core-7.3.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/build_runner_core-7.3.2/lib/ +build_test +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/build_test-2.2.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/build_test-2.2.2/lib/ +build_web_compilers +3.5 +file:///home/codespace/.pub-cache/hosted/pub.dev/build_web_compilers-4.0.11/ +file:///home/codespace/.pub-cache/hosted/pub.dev/build_web_compilers-4.0.11/lib/ +built_collection +2.12 +file:///home/codespace/.pub-cache/hosted/pub.dev/built_collection-5.1.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/built_collection-5.1.1/lib/ +built_value +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/built_value-8.9.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/built_value-8.9.2/lib/ +characters +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/characters-1.3.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/characters-1.3.1/lib/ +checked_yaml +2.19 +file:///home/codespace/.pub-cache/hosted/pub.dev/checked_yaml-2.0.3/ +file:///home/codespace/.pub-cache/hosted/pub.dev/checked_yaml-2.0.3/lib/ +clock +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/clock-1.1.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/clock-1.1.2/lib/ +code_builder +3.5 +file:///home/codespace/.pub-cache/hosted/pub.dev/code_builder-4.10.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/code_builder-4.10.1/lib/ +collection +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/collection-1.19.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/collection-1.19.1/lib/ +convert +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/convert-3.1.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/convert-3.1.2/lib/ +coverage +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/coverage-1.11.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/coverage-1.11.0/lib/ +crypto +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/crypto-3.0.6/ +file:///home/codespace/.pub-cache/hosted/pub.dev/crypto-3.0.6/lib/ +csslib +3.1 +file:///home/codespace/.pub-cache/hosted/pub.dev/csslib-1.0.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/csslib-1.0.2/lib/ +dart_style +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/dart_style-2.3.7/ +file:///home/codespace/.pub-cache/hosted/pub.dev/dart_style-2.3.7/lib/ +ds_standard_features +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/ds_standard_features-0.0.1-pre+11/ +file:///home/codespace/.pub-cache/hosted/pub.dev/ds_standard_features-0.0.1-pre+11/lib/ +ds_tools_testing +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/ds_tools_testing-0.0.1-pre+2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/ds_tools_testing-0.0.1-pre+2/lib/ +fake_async +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/fake_async-1.3.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/fake_async-1.3.2/lib/ +file +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/file-7.0.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/file-7.0.1/lib/ +fixnum +3.1 +file:///home/codespace/.pub-cache/hosted/pub.dev/fixnum-1.1.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/fixnum-1.1.1/lib/ +freezed_annotation +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/freezed_annotation-2.4.4/ +file:///home/codespace/.pub-cache/hosted/pub.dev/freezed_annotation-2.4.4/lib/ +frontend_server_client +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/frontend_server_client-4.0.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/frontend_server_client-4.0.0/lib/ +glob +2.19 +file:///home/codespace/.pub-cache/hosted/pub.dev/glob-2.1.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/glob-2.1.2/lib/ +graphs +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/graphs-2.3.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/graphs-2.3.2/lib/ +html +3.2 +file:///home/codespace/.pub-cache/hosted/pub.dev/html-0.15.5/ +file:///home/codespace/.pub-cache/hosted/pub.dev/html-0.15.5/lib/ +http +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/http-1.2.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/http-1.2.2/lib/ +http2 +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/http2-2.3.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/http2-2.3.0/lib/ +http_multi_server +2.12 +file:///home/codespace/.pub-cache/hosted/pub.dev/http_multi_server-3.2.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/http_multi_server-3.2.1/lib/ +http_parser +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/http_parser-4.1.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/http_parser-4.1.1/lib/ +intl +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/intl-0.19.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/intl-0.19.0/lib/ +intl_translation +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/intl_translation-0.20.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/intl_translation-0.20.1/lib/ +io +2.12 +file:///home/codespace/.pub-cache/hosted/pub.dev/io-1.0.4/ +file:///home/codespace/.pub-cache/hosted/pub.dev/io-1.0.4/lib/ +js +3.1 +file:///home/codespace/.pub-cache/hosted/pub.dev/js-0.7.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/js-0.7.1/lib/ +json_annotation +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/json_annotation-4.9.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/json_annotation-4.9.0/lib/ +jwt_generator +3.5 +file:///home/codespace/.pub-cache/hosted/pub.dev/jwt_generator-0.0.3/ +file:///home/codespace/.pub-cache/hosted/pub.dev/jwt_generator-0.0.3/lib/ +lints +3.1 +file:///home/codespace/.pub-cache/hosted/pub.dev/lints-4.0.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/lints-4.0.0/lib/ +logging +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/logging-1.3.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/logging-1.3.0/lib/ +macros +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/macros-0.1.2-main.4/ +file:///home/codespace/.pub-cache/hosted/pub.dev/macros-0.1.2-main.4/lib/ +matcher +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/matcher-0.12.16+1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/matcher-0.12.16+1/lib/ +meta +2.12 +file:///home/codespace/.pub-cache/hosted/pub.dev/meta-1.16.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/meta-1.16.0/lib/ +mime +3.2 +file:///home/codespace/.pub-cache/hosted/pub.dev/mime-2.0.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/mime-2.0.0/lib/ +mockito +3.1 +file:///home/codespace/.pub-cache/hosted/pub.dev/mockito-5.4.4/ +file:///home/codespace/.pub-cache/hosted/pub.dev/mockito-5.4.4/lib/ +mocktail +2.12 +file:///home/codespace/.pub-cache/hosted/pub.dev/mocktail-1.0.4/ +file:///home/codespace/.pub-cache/hosted/pub.dev/mocktail-1.0.4/lib/ +node_preamble +2.12 +file:///home/codespace/.pub-cache/hosted/pub.dev/node_preamble-2.0.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/node_preamble-2.0.2/lib/ +os_detect +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/os_detect-2.0.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/os_detect-2.0.2/lib/ +package_config +2.12 +file:///home/codespace/.pub-cache/hosted/pub.dev/package_config-2.1.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/package_config-2.1.0/lib/ +path +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/path-1.9.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/path-1.9.1/lib/ +pointycastle +3.2 +file:///home/codespace/.pub-cache/hosted/pub.dev/pointycastle-3.9.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/pointycastle-3.9.1/lib/ +pool +2.12 +file:///home/codespace/.pub-cache/hosted/pub.dev/pool-1.5.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/pool-1.5.1/lib/ +protobuf +2.19 +file:///home/codespace/.pub-cache/hosted/pub.dev/protobuf-3.1.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/protobuf-3.1.0/lib/ +pub_semver +2.17 +file:///home/codespace/.pub-cache/hosted/pub.dev/pub_semver-2.1.4/ +file:///home/codespace/.pub-cache/hosted/pub.dev/pub_semver-2.1.4/lib/ +pubspec_parse +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/pubspec_parse-1.3.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/pubspec_parse-1.3.0/lib/ +rsa_pkcs +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/rsa_pkcs-2.1.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/rsa_pkcs-2.1.0/lib/ +scratch_space +2.19 +file:///home/codespace/.pub-cache/hosted/pub.dev/scratch_space-1.0.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/scratch_space-1.0.2/lib/ +shelf +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/shelf-1.4.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/shelf-1.4.2/lib/ +shelf_packages_handler +2.17 +file:///home/codespace/.pub-cache/hosted/pub.dev/shelf_packages_handler-3.0.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/shelf_packages_handler-3.0.2/lib/ +shelf_static +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/shelf_static-1.1.3/ +file:///home/codespace/.pub-cache/hosted/pub.dev/shelf_static-1.1.3/lib/ +shelf_web_socket +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/shelf_web_socket-2.0.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/shelf_web_socket-2.0.1/lib/ +source_gen +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/source_gen-1.5.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/source_gen-1.5.0/lib/ +source_map_stack_trace +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/source_map_stack_trace-2.1.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/source_map_stack_trace-2.1.2/lib/ +source_maps +2.18 +file:///home/codespace/.pub-cache/hosted/pub.dev/source_maps-0.10.12/ +file:///home/codespace/.pub-cache/hosted/pub.dev/source_maps-0.10.12/lib/ +source_span +2.18 +file:///home/codespace/.pub-cache/hosted/pub.dev/source_span-1.10.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/source_span-1.10.0/lib/ +sprintf +2.12 +file:///home/codespace/.pub-cache/hosted/pub.dev/sprintf-7.0.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/sprintf-7.0.0/lib/ +stack_trace +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/stack_trace-1.12.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/stack_trace-1.12.0/lib/ +stream_channel +2.19 +file:///home/codespace/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/lib/ +stream_transform +2.14 +file:///home/codespace/.pub-cache/hosted/pub.dev/stream_transform-2.1.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/stream_transform-2.1.0/lib/ +string_scanner +3.1 +file:///home/codespace/.pub-cache/hosted/pub.dev/string_scanner-1.4.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/string_scanner-1.4.0/lib/ +term_glyph +2.12 +file:///home/codespace/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/lib/ +test +3.5 +file:///home/codespace/.pub-cache/hosted/pub.dev/test-1.25.9/ +file:///home/codespace/.pub-cache/hosted/pub.dev/test-1.25.9/lib/ +test_api +3.5 +file:///home/codespace/.pub-cache/hosted/pub.dev/test_api-0.7.4/ +file:///home/codespace/.pub-cache/hosted/pub.dev/test_api-0.7.4/lib/ +test_core +3.5 +file:///home/codespace/.pub-cache/hosted/pub.dev/test_core-0.6.6/ +file:///home/codespace/.pub-cache/hosted/pub.dev/test_core-0.6.6/lib/ +test_reporter +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/test_reporter-1.1.5/ +file:///home/codespace/.pub-cache/hosted/pub.dev/test_reporter-1.1.5/lib/ +timing +2.14 +file:///home/codespace/.pub-cache/hosted/pub.dev/timing-1.0.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/timing-1.0.1/lib/ +typed_data +3.5 +file:///home/codespace/.pub-cache/hosted/pub.dev/typed_data-1.4.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/typed_data-1.4.0/lib/ +universal_io +2.17 +file:///home/codespace/.pub-cache/hosted/pub.dev/universal_io-2.2.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/universal_io-2.2.2/lib/ +uuid +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/uuid-4.5.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/uuid-4.5.1/lib/ +vm_service +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/vm_service-14.3.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/vm_service-14.3.1/lib/ +watcher +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/watcher-1.1.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/watcher-1.1.0/lib/ +web +3.4 +file:///home/codespace/.pub-cache/hosted/pub.dev/web-1.1.0/ +file:///home/codespace/.pub-cache/hosted/pub.dev/web-1.1.0/lib/ +web_socket +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/web_socket-0.1.6/ +file:///home/codespace/.pub-cache/hosted/pub.dev/web_socket-0.1.6/lib/ +web_socket_channel +3.3 +file:///home/codespace/.pub-cache/hosted/pub.dev/web_socket_channel-3.0.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/web_socket_channel-3.0.1/lib/ +webkit_inspection_protocol +3.0 +file:///home/codespace/.pub-cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1/ +file:///home/codespace/.pub-cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1/lib/ +yaml +2.19 +file:///home/codespace/.pub-cache/hosted/pub.dev/yaml-3.1.2/ +file:///home/codespace/.pub-cache/hosted/pub.dev/yaml-3.1.2/lib/ +_macros +3.4 +file:///home/codespace/flutter/bin/cache/dart-sdk/pkg/_macros/ +file:///home/codespace/flutter/bin/cache/dart-sdk/pkg/_macros/lib/ +firebase_dart_admin_auth_sdk +3.0 +file:///workspaces/firebase-dart-admin-auth-sdk/ +file:///workspaces/firebase-dart-admin-auth-sdk/lib/ +2 diff --git a/.dart_tool/version b/.dart_tool/version new file mode 100644 index 00000000..9d67c4fc --- /dev/null +++ b/.dart_tool/version @@ -0,0 +1 @@ +3.24.5 \ No newline at end of file diff --git a/firebase-dart-admin-auth-sdk/bin/main.dart b/firebase-dart-admin-auth-sdk/bin/main.dart index 5b524b5a..f37919e0 100644 --- a/firebase-dart-admin-auth-sdk/bin/main.dart +++ b/firebase-dart-admin-auth-sdk/bin/main.dart @@ -1,10 +1,18 @@ import 'package:firebase_dart_admin_auth_sdk/src/firebase_auth.dart'; +import 'package:firebase_dart_admin_auth_sdk/src/firebase_user/firebase_user_service.dart'; +import 'package:firebase_dart_admin_auth_sdk/src/utils.dart'; +import '../../utils.dart'; // Import the spinner function + void main() async { final auth = FirebaseAuth(apiKey: 'YOUR_API_KEY', projectId: 'YOUR_PROJECT_ID'); + final userService = FirebaseUserService(); // Initialize the user service try { + // Display a spinner while initializing Firebase Auth + showSpinner('Initializing Firebase Auth', 3); + // Sign up a new user final newUser = await auth.createUserWithEmailAndPassword( 'newuser@aortem.com', 'password123'); @@ -15,6 +23,25 @@ void main() async { final userCredential = await auth.signInWithEmailAndPassword( 'newuser@aortem.com', 'password123'); print('Signed in: ${userCredential?.user.email}'); + + // Fetch users + print('Fetching users...'); + final users = await userService.fetchUsers(); + print('Fetched ${users.length} users.'); + + // Sort users by name + print('Sorting users by name...'); + final sortedUsers = userService.sortUsers(users, 'name'); + for (final user in sortedUsers) { + print('Name: ${user['name']}, Email: ${user['email']}'); + } + + // Filter users with query 'john' + print('Filtering users with query "john"...'); + final filteredUsers = userService.filterUsers(users, 'john'); + for (final user in filteredUsers) { + print('Filtered - Name: ${user['name']}, Email: ${user['email']}'); + } } catch (e) { print('Error: $e'); } diff --git a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/sign_in_with_email_and_password_screen/sign_in_with_email_and_password_screen.dart b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/sign_in_with_email_and_password_screen/sign_in_with_email_and_password_screen.dart index 59799530..d1c4b355 100644 --- a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/sign_in_with_email_and_password_screen/sign_in_with_email_and_password_screen.dart +++ b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/sign_in_with_email_and_password_screen/sign_in_with_email_and_password_screen.dart @@ -42,6 +42,7 @@ class _SignInWithEmailAndPasswordScreenState controller: _emailController, hint: 'test@gmail.com', label: 'Email', + tooltip: 'Enter your registered email address', // Tooltip added ), 20.vSpace, InputField( @@ -49,6 +50,7 @@ class _SignInWithEmailAndPasswordScreenState hint: '******', label: 'Password', obscure: true, + tooltip: 'Enter your account password', // Tooltip added ), 20.vSpace, Button( @@ -65,6 +67,7 @@ class _SignInWithEmailAndPasswordScreenState ); }, title: 'Sign In', + loading: value.loading, // Spinner already integrated ), 20.vSpace, GestureDetector( diff --git a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/sign_up_screen/sign_up_screen.dart b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/sign_up_screen/sign_up_screen.dart index 88cf5fc1..d86fc5ee 100644 --- a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/sign_up_screen/sign_up_screen.dart +++ b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/sign_up_screen/sign_up_screen.dart @@ -45,6 +45,7 @@ class _SignUpScreenState extends State { label: 'Email', hint: '1234@gmail.com', controller: _emailController, + tooltip: 'Enter your email address', // Tooltip added ), 30.vSpace, InputField( @@ -52,6 +53,7 @@ class _SignUpScreenState extends State { hint: '******', controller: _passwordController, obscure: true, + tooltip: 'Enter a password with at least 6 characters', // Tooltip added ), 30.vSpace, Button( diff --git a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/update_profile_screen/update_profile_screen.dart b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/update_profile_screen/update_profile_screen.dart index f0470aba..b8d0e572 100644 --- a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/update_profile_screen/update_profile_screen.dart +++ b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/screens/update_profile_screen/update_profile_screen.dart @@ -44,12 +44,14 @@ class _UpdateProfileScreenState extends State { controller: _displayNameController, label: 'Display Name', hint: 'Drake', + tooltip: 'Enter the name you want displayed', // Tooltip added ), 20.vSpace, InputField( controller: _displayImageController, label: 'Display Image', hint: 'www.sample.jpg', + tooltip: 'Enter a valid image URL', // Tooltip added ), 20.vSpace, Button( @@ -59,7 +61,7 @@ class _UpdateProfileScreenState extends State { () => Navigator.of(context).pop(), ), title: 'Update Profile', - loading: value.loading, + loading: value.loading, // Spinner already integrated ), ], ), diff --git a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/shared/action_tile.dart b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/shared/action_tile.dart index c0f36cb1..5c8f5fc2 100644 --- a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/shared/action_tile.dart +++ b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/shared/action_tile.dart @@ -5,39 +5,50 @@ class ActionTile extends StatelessWidget { final String title; final VoidCallback onTap; final bool loading; + final String? tooltipMessage; // Add a tooltip message + const ActionTile({ super.key, required this.onTap, required this.title, this.loading = false, + this.tooltipMessage, }); @override Widget build(BuildContext context) { - return InkWell( - onTap: onTap, - child: Container( - padding: 10.all, - decoration: BoxDecoration( + return Tooltip( + message: tooltipMessage ?? + 'Perform action: $title', // Display tooltip if provided + child: InkWell( + onTap: loading ? null : onTap, // Disable tap while loading + child: Container( + padding: 10.all, + decoration: BoxDecoration( borderRadius: BorderRadius.circular(10), border: Border.all( color: Colors.purple, - )), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - loading - ? const SizedBox( - height: 15, - width: 15, - child: CircularProgressIndicator(), - ) - : Text(title), - const Icon( - Icons.arrow_forward_ios, - color: Colors.purple, ), - ], + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + loading + ? const SizedBox( + height: 15, + width: 15, + child: CircularProgressIndicator( + strokeWidth: 2, + color: Colors.purple, // Match the theme + ), + ) + : Text(title), + const Icon( + Icons.arrow_forward_ios, + color: Colors.purple, + ), + ], + ), ), ), ); diff --git a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/shared/input_field.dart b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/shared/input_field.dart index faaebc7a..a8214837 100644 --- a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/shared/input_field.dart +++ b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/lib/shared/input_field.dart @@ -7,6 +7,8 @@ class InputField extends StatelessWidget { final bool? obscure; final TextInputType? textInputType; final bool obscureText; + final String? tooltip; // New field for the tooltip message + const InputField({ super.key, this.controller, @@ -15,18 +17,21 @@ class InputField extends StatelessWidget { this.obscure, this.textInputType, this.obscureText = false, + this.tooltip, // Initialize the tooltip field }); @override Widget build(BuildContext context) { - return TextField( - controller: controller, - obscureText: obscure ?? false, - // obscureText: obscureText, - keyboardType: textInputType, - decoration: InputDecoration( - hintText: hint, - labelText: label, + return Tooltip( + message: tooltip ?? '', // Display tooltip if provided + child: TextField( + controller: controller, + obscureText: obscure ?? false, + keyboardType: textInputType, + decoration: InputDecoration( + hintText: hint, + labelText: label, + ), ), ); } diff --git a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/pubspec.lock b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/pubspec.lock index bcc862d2..0f020f60 100644 --- a/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/pubspec.lock +++ b/firebase-dart-admin-auth-sdk/example/firebase-dart-admin-auth-sdk-sample-app/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: "45cfa8471b89fb6643fe9bf51bd7931a76b8f5ec2d65de4fb176dba8d4f22c77" + sha256: f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834 url: "https://pub.dev" source: hosted - version: "73.0.0" + version: "72.0.0" _macros: dependency: transitive description: dart @@ -18,10 +18,10 @@ packages: dependency: transitive description: name: analyzer - sha256: "4959fec185fe70cce007c57e9ab6983101dbe593d2bf8bbfb4453aaec0cf470a" + sha256: b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139 url: "https://pub.dev" source: hosted - version: "6.8.0" + version: "6.7.0" archive: dependency: transitive description: @@ -138,10 +138,10 @@ packages: dependency: transitive description: name: collection - sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.19.0" + version: "1.18.0" convert: dependency: transitive description: @@ -228,7 +228,7 @@ packages: path: "../.." relative: true source: path - version: "0.0.1-pre+9" + version: "0.0.1-pre+10" fixnum: dependency: transitive description: @@ -376,10 +376,10 @@ packages: dependency: transitive description: name: http_parser - sha256: "76d306a1c3afb33fe82e2bbacad62a61f409b5634c915fceb0d799de1a913360" + sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" url: "https://pub.dev" source: hosted - version: "4.1.1" + version: "4.0.2" intl: dependency: transitive description: @@ -424,18 +424,18 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" + sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" url: "https://pub.dev" source: hosted - version: "10.0.7" + version: "10.0.5" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" + sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" url: "https://pub.dev" source: hosted - version: "3.0.8" + version: "3.0.5" leak_tracker_testing: dependency: transitive description: @@ -712,7 +712,7 @@ packages: dependency: transitive description: flutter source: sdk - version: "0.0.0" + version: "0.0.99" source_maps: dependency: transitive description: @@ -757,10 +757,10 @@ packages: dependency: transitive description: name: string_scanner - sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.2.0" term_glyph: dependency: transitive description: @@ -773,10 +773,10 @@ packages: dependency: transitive description: name: test_api - sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" + sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" url: "https://pub.dev" source: hosted - version: "0.7.3" + version: "0.7.2" typed_data: dependency: transitive description: diff --git a/firebase-dart-admin-auth-sdk/lib/src/auth/create_user_with_email_and_password.dart b/firebase-dart-admin-auth-sdk/lib/src/auth/create_user_with_email_and_password.dart index beb923c8..86dfc806 100644 --- a/firebase-dart-admin-auth-sdk/lib/src/auth/create_user_with_email_and_password.dart +++ b/firebase-dart-admin-auth-sdk/lib/src/auth/create_user_with_email_and_password.dart @@ -1,5 +1,7 @@ import 'dart:convert'; import 'package:firebase_dart_admin_auth_sdk/firebase_dart_admin_auth_sdk.dart'; +import '../../utils.dart'; // Import the spinner function + ///create user connect class CreateUserWithEmailAndPasswordService { @@ -11,6 +13,7 @@ class CreateUserWithEmailAndPasswordService { ///create function Future create(String email, String password) async { + showSpinner('Creating user', 3); // Add spinner at the start final url = Uri.https( 'identitytoolkit.googleapis.com', '/v1/accounts:signUp', diff --git a/firebase-dart-admin-auth-sdk/lib/src/auth/reload_user.dart b/firebase-dart-admin-auth-sdk/lib/src/auth/reload_user.dart index 41b68887..f190e4bc 100644 --- a/firebase-dart-admin-auth-sdk/lib/src/auth/reload_user.dart +++ b/firebase-dart-admin-auth-sdk/lib/src/auth/reload_user.dart @@ -1,6 +1,8 @@ import 'package:firebase_dart_admin_auth_sdk/src/exceptions.dart'; import 'package:firebase_dart_admin_auth_sdk/src/firebase_auth.dart'; import 'package:firebase_dart_admin_auth_sdk/src/user.dart'; +import '../../utils.dart'; // Import the spinner function + /// Service to reload the user's information from Firebase based on their ID token. /// @@ -28,6 +30,7 @@ class ReloadUser { /// Throws: /// - [FirebaseAuthException] if the reload request fails or if the [idToken] is invalid or null. Future reloadUser(String? idToken) async { + showSpinner('Refreshing user data', 3); // Add spinner at the start try { // Validate that the idToken is not null assert(idToken != null, 'Id token cannot be null'); diff --git a/firebase-dart-admin-auth-sdk/lib/src/auth/sign_in_anonymously.dart b/firebase-dart-admin-auth-sdk/lib/src/auth/sign_in_anonymously.dart index f54e8329..61678387 100644 --- a/firebase-dart-admin-auth-sdk/lib/src/auth/sign_in_anonymously.dart +++ b/firebase-dart-admin-auth-sdk/lib/src/auth/sign_in_anonymously.dart @@ -1,5 +1,7 @@ import 'dart:developer'; import '../../firebase_dart_admin_auth_sdk.dart'; +import '../../utils.dart'; // Import the spinner function + /// A service that handles anonymous sign-in for Firebase Authentication. /// @@ -31,6 +33,7 @@ class FirebaseSignInAnonymously { /// - A [UserCredential] object if the sign-in is successful. /// - `null` if the sign-in fails. Future signInAnonymously() async { + showSpinner('Signing in anonymously', 3); // Add spinner at the start try { // Send the request to Firebase Authentication to sign up the user anonymously final response = await auth.performRequest('signUp', { diff --git a/firebase-dart-admin-auth-sdk/lib/src/auth/sign_out_auth.dart b/firebase-dart-admin-auth-sdk/lib/src/auth/sign_out_auth.dart index 347a4f2f..482398f4 100644 --- a/firebase-dart-admin-auth-sdk/lib/src/auth/sign_out_auth.dart +++ b/firebase-dart-admin-auth-sdk/lib/src/auth/sign_out_auth.dart @@ -1,4 +1,6 @@ import '../../firebase_dart_admin_auth_sdk.dart'; +import '../../utils.dart'; // Import the spinner function + /// A service that handles the sign-out process for the current user in Firebase Authentication. @@ -18,6 +20,7 @@ class FirebaseSignOut { /// Throws: /// - No exceptions are thrown by this method. Future signOut() async { + showSpinner('Signing out', 2); // Clear the current user session by setting the current user to null. FirebaseApp.instance.setCurrentUser(null); } diff --git a/firebase-dart-admin-auth-sdk/lib/src/firebase_user/firebase_user_service.dart b/firebase-dart-admin-auth-sdk/lib/src/firebase_user/firebase_user_service.dart new file mode 100644 index 00000000..2de4eeee --- /dev/null +++ b/firebase-dart-admin-auth-sdk/lib/src/firebase_user/firebase_user_service.dart @@ -0,0 +1,37 @@ +import 'package:http/http.dart' as http; +import 'dart:convert'; +import '../utils.dart'; // Import showSpinner from utils + +class FirebaseUserService { + final String apiUrl = + 'https://your-api-endpoint/users'; + + /// Fetch users from the backend API + Future>> fetchUsers() async { + showSpinner('Fetching users', 3); // Show spinner while fetching + final response = await http.get(Uri.parse(apiUrl)); + if (response.statusCode == 200) { + final List data = json.decode(response.body); + return data.map((e) => e as Map).toList(); + } else { + throw Exception('Failed to fetch users'); + } + } + + /// Sort users by a specific field + List> sortUsers( + List> users, String field) { + users.sort((a, b) => a[field].compareTo(b[field])); + return users; + } + + /// Filter users based on a query string + List> filterUsers( + List> users, String query) { + return users + .where((user) => + user['name'].toLowerCase().contains(query.toLowerCase()) || + user['email'].toLowerCase().contains(query.toLowerCase())) + .toList(); + } +} diff --git a/firebase-dart-admin-auth-sdk/lib/src/utils.dart b/firebase-dart-admin-auth-sdk/lib/src/utils.dart index a1cb5180..d9276955 100644 --- a/firebase-dart-admin-auth-sdk/lib/src/utils.dart +++ b/firebase-dart-admin-auth-sdk/lib/src/utils.dart @@ -1,4 +1,6 @@ import 'dart:math'; +import 'dart:async'; +import 'dart:io'; /// Validates if the provided email is in a proper format. /// @@ -32,37 +34,15 @@ String? validatePassword(String password) { /// Settings used when sending an action code (such as email verification or password reset). /// Contains details about how the action code should be handled on the client-side. -/// -/// Example usage: -/// ```dart -/// ActionCodeSettings( -/// url: 'https://your-app.com/verify-email', -/// handleCodeInApp: true, -/// ) -/// ``` class ActionCodeSettings { - /// The URL to which the user should be redirected after completing the action. final String url; - - /// Whether the action code should be handled in the app or through the browser. final bool handleCodeInApp; - - /// Optional: iOS bundle ID to associate with the action code. final String? iOSBundleId; - - /// Optional: Android package name to associate with the action code. final String? androidPackageName; - - /// Optional: Whether the Android app should be installed if not already. final bool? androidInstallApp; - - /// Optional: Minimum version of the Android app required to handle the action code. final String? androidMinimumVersion; - - /// Optional: The domain for dynamic links to be used with the action code. final String? dynamicLinkDomain; - /// Creates an instance of [ActionCodeSettings] with the required and optional properties. ActionCodeSettings({ required this.url, this.handleCodeInApp = false, @@ -73,8 +53,6 @@ class ActionCodeSettings { this.dynamicLinkDomain, }); - /// Converts the [ActionCodeSettings] object to a map. - /// This map can be used to send the settings in an API call. Map toMap() { return { 'continueUrl': url, @@ -90,23 +68,14 @@ class ActionCodeSettings { } /// Generates a unique identifier (UID) in the format of a UUIDv4. -/// -/// UUID (Universally Unique Identifier) is a 128-bit value that is typically -/// represented as a 32-character string in the form `xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx` -/// where `x` is a random hexadecimal digit and `y` is a random digit from 8, 9, A, or B. -/// -/// Returns: -/// - A randomly generated UUID (v4) string. String generateUid() { final random = Random.secure(); - /// Generates a random hexadecimal string of the specified length. String generateRandomHex(int length) { const hexDigits = '0123456789abcdef'; return List.generate(length, (_) => hexDigits[random.nextInt(16)]).join(); } - // Set the version (UUIDv4) String uuid = '${generateRandomHex(8)}-' '${generateRandomHex(4)}-' '4${generateRandomHex(3)}-' // UUID version 4 @@ -115,3 +84,42 @@ String generateUid() { return uuid; } + +/// Sorts a list of users by a specified field (e.g., name, email). +List> sortUsers( + List> users, String field) { + users.sort((a, b) => a[field].toString().compareTo(b[field].toString())); + return users; +} + +/// Filters a list of users based on a search query. +List> filterUsers( + List> users, String query) { + final lowerQuery = query.toLowerCase(); + return users.where((user) { + final name = user['name']?.toString().toLowerCase() ?? ''; + final email = user['email']?.toString().toLowerCase() ?? ''; + return name.contains(lowerQuery) || email.contains(lowerQuery); + }).toList(); +} + +/// Displays an animated spinner in the terminal. +/// +/// [message] is the text displayed next to the spinner. +/// [durationInSeconds] specifies how long the spinner runs. +void showSpinner(String message, [int durationInSeconds = 5]) { + const frames = ['|', '/', '-', '\\']; + int index = 0; + + // Start a periodic timer to show spinner animation + Timer? timer = Timer.periodic(const Duration(milliseconds: 100), (timer) { + stdout.write('\r$message ${frames[index]}'); + index = (index + 1) % frames.length; + }); + + // Stop the spinner after the specified duration + Future.delayed(Duration(seconds: durationInSeconds), () { + timer.cancel(); + stdout.write('\r$message Done!\n'); + }); +} diff --git a/firebase-dart-admin-auth-sdk/pubspec.yaml b/firebase-dart-admin-auth-sdk/pubspec.yaml deleted file mode 100644 index 4958ace1..00000000 --- a/firebase-dart-admin-auth-sdk/pubspec.yaml +++ /dev/null @@ -1,28 +0,0 @@ -name: firebase_dart_admin_auth_sdk -description: A Dart SDK for Firebase Admin Authentication, enabling secure server-side authentication and user management for Dart-based backend applications. -version: 0.0.1-pre+10 -repository: https://github.com/aortem/firebase-dart-admin-auth-sdk - -environment: - sdk: ^3.5.2 - -# Add regular dependencies here. - -dependencies: -#------------------ STANDARD FEATURES--------------------------------- -## There are three standard libraries. Each one can be used with a different xxx - - ds_standard_features: ^0.0.1-pre+11 #Standard Dart Team Utilities For HTTP //Default - build_web_compilers: ^4.0.11 - jwt_generator: ^0.0.3 -# ds_standard_features_web: ^0.0.1-pre+1 #Standard Dart Team Utilities for //Uncomment for WEB -# ds_standard_features_grpc: ^0.0.1-pre+1 #Standard Dart Team Utilities for //Uncomment for GRPC - - -#------------------ TESTING FEATURES--------------------------------- - -dev_dependencies: - ds_tools_testing: ^0.0.1-pre+2 #Standard Dart Team Testing Tools - test_reporter: any #required to generate JUnit report - http: any - mockito: any diff --git a/flutter b/flutter new file mode 160000 index 00000000..dec2ee5c --- /dev/null +++ b/flutter @@ -0,0 +1 @@ +Subproject commit dec2ee5c1f98f8e84a7d5380c05eb8a3d0a81668 diff --git a/pubspec.lock b/pubspec.lock new file mode 100644 index 00000000..8a90251e --- /dev/null +++ b/pubspec.lock @@ -0,0 +1,794 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + _fe_analyzer_shared: + dependency: transitive + description: + name: _fe_analyzer_shared + sha256: "45cfa8471b89fb6643fe9bf51bd7931a76b8f5ec2d65de4fb176dba8d4f22c77" + url: "https://pub.dev" + source: hosted + version: "73.0.0" + _macros: + dependency: transitive + description: dart + source: sdk + version: "0.3.2" + analyzer: + dependency: transitive + description: + name: analyzer + sha256: "4959fec185fe70cce007c57e9ab6983101dbe593d2bf8bbfb4453aaec0cf470a" + url: "https://pub.dev" + source: hosted + version: "6.8.0" + ansicolor: + dependency: transitive + description: + name: ansicolor + sha256: "50e982d500bc863e1d703448afdbf9e5a72eb48840a4f766fa361ffd6877055f" + url: "https://pub.dev" + source: hosted + version: "2.0.3" + archive: + dependency: transitive + description: + name: archive + sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d + url: "https://pub.dev" + source: hosted + version: "3.6.1" + args: + dependency: transitive + description: + name: args + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 + url: "https://pub.dev" + source: hosted + version: "2.6.0" + asn1lib: + dependency: transitive + description: + name: asn1lib + sha256: "4bae5ae63e6d6dd17c4aac8086f3dec26c0236f6a0f03416c6c19d830c367cf5" + url: "https://pub.dev" + source: hosted + version: "1.5.8" + async: + dependency: transitive + description: + name: async + sha256: d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63 + url: "https://pub.dev" + source: hosted + version: "2.12.0" + bazel_worker: + dependency: transitive + description: + name: bazel_worker + sha256: "57035594b87d9f5af99f1a80e1edf5411dadbdf5acfc4f90403e3849f57dd0f0" + url: "https://pub.dev" + source: hosted + version: "1.1.2" + boolean_selector: + dependency: transitive + description: + name: boolean_selector + sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + build: + dependency: transitive + description: + name: build + sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" + url: "https://pub.dev" + source: hosted + version: "2.4.1" + build_config: + dependency: transitive + description: + name: build_config + sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1 + url: "https://pub.dev" + source: hosted + version: "1.1.1" + build_daemon: + dependency: transitive + description: + name: build_daemon + sha256: "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9" + url: "https://pub.dev" + source: hosted + version: "4.0.2" + build_modules: + dependency: transitive + description: + name: build_modules + sha256: "403ba034d94f1a0f26362fe14fd83e9ff33644f5cbe879982920e3d209650b43" + url: "https://pub.dev" + source: hosted + version: "5.0.9" + build_resolvers: + dependency: transitive + description: + name: build_resolvers + sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a" + url: "https://pub.dev" + source: hosted + version: "2.4.2" + build_runner: + dependency: transitive + description: + name: build_runner + sha256: "028819cfb90051c6b5440c7e574d1896f8037e3c96cf17aaeb054c9311cfbf4d" + url: "https://pub.dev" + source: hosted + version: "2.4.13" + build_runner_core: + dependency: transitive + description: + name: build_runner_core + sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0 + url: "https://pub.dev" + source: hosted + version: "7.3.2" + build_test: + dependency: transitive + description: + name: build_test + sha256: "260dbba934f41b0a42935e9cae1f5731b94f0c3e489dc97bcf8e281265aaa5ae" + url: "https://pub.dev" + source: hosted + version: "2.2.2" + build_web_compilers: + dependency: "direct main" + description: + name: build_web_compilers + sha256: e8d818410cc8b4dc96c4960ce0ab84fe3f2b0ca6576cc130fd7277b56eba9d68 + url: "https://pub.dev" + source: hosted + version: "4.0.11" + built_collection: + dependency: transitive + description: + name: built_collection + sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" + url: "https://pub.dev" + source: hosted + version: "5.1.1" + built_value: + dependency: transitive + description: + name: built_value + sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb + url: "https://pub.dev" + source: hosted + version: "8.9.2" + characters: + dependency: transitive + description: + name: characters + sha256: "81269c8d3f45541082bfbb117bbc962cfc68b5197eb4c705a00db4ddf394e1c1" + url: "https://pub.dev" + source: hosted + version: "1.3.1" + checked_yaml: + dependency: transitive + description: + name: checked_yaml + sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff + url: "https://pub.dev" + source: hosted + version: "2.0.3" + clock: + dependency: transitive + description: + name: clock + sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b + url: "https://pub.dev" + source: hosted + version: "1.1.2" + code_builder: + dependency: transitive + description: + name: code_builder + sha256: "0ec10bf4a89e4c613960bf1e8b42c64127021740fb21640c29c909826a5eea3e" + url: "https://pub.dev" + source: hosted + version: "4.10.1" + collection: + dependency: transitive + description: + name: collection + sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" + url: "https://pub.dev" + source: hosted + version: "1.19.1" + convert: + dependency: transitive + description: + name: convert + sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 + url: "https://pub.dev" + source: hosted + version: "3.1.2" + coverage: + dependency: transitive + description: + name: coverage + sha256: "4b03e11f6d5b8f6e5bb5e9f7889a56fe6c5cbe942da5378ea4d4d7f73ef9dfe5" + url: "https://pub.dev" + source: hosted + version: "1.11.0" + crypto: + dependency: transitive + description: + name: crypto + sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" + url: "https://pub.dev" + source: hosted + version: "3.0.6" + csslib: + dependency: transitive + description: + name: csslib + sha256: "09bad715f418841f976c77db72d5398dc1253c21fb9c0c7f0b0b985860b2d58e" + url: "https://pub.dev" + source: hosted + version: "1.0.2" + dart_style: + dependency: transitive + description: + name: dart_style + sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab" + url: "https://pub.dev" + source: hosted + version: "2.3.7" + ds_standard_features: + dependency: "direct main" + description: + name: ds_standard_features + sha256: "58bc987cd7b16ade9f52e12cd0fe537fc0f2fe4fe4f05b3cec3d6bd7e4989595" + url: "https://pub.dev" + source: hosted + version: "0.0.1-pre+11" + ds_tools_testing: + dependency: "direct dev" + description: + name: ds_tools_testing + sha256: ea42d1c76f4272bfac5c0d70ced071bc0cb8d0faef0521c0703ec5077eb764b9 + url: "https://pub.dev" + source: hosted + version: "0.0.1-pre+2" + fake_async: + dependency: transitive + description: + name: fake_async + sha256: "6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc" + url: "https://pub.dev" + source: hosted + version: "1.3.2" + file: + dependency: transitive + description: + name: file + sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 + url: "https://pub.dev" + source: hosted + version: "7.0.1" + fixnum: + dependency: transitive + description: + name: fixnum + sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be + url: "https://pub.dev" + source: hosted + version: "1.1.1" + freezed_annotation: + dependency: transitive + description: + name: freezed_annotation + sha256: c2e2d632dd9b8a2b7751117abcfc2b4888ecfe181bd9fca7170d9ef02e595fe2 + url: "https://pub.dev" + source: hosted + version: "2.4.4" + frontend_server_client: + dependency: transitive + description: + name: frontend_server_client + sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 + url: "https://pub.dev" + source: hosted + version: "4.0.0" + glob: + dependency: transitive + description: + name: glob + sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + graphs: + dependency: transitive + description: + name: graphs + sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0" + url: "https://pub.dev" + source: hosted + version: "2.3.2" + html: + dependency: transitive + description: + name: html + sha256: "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec" + url: "https://pub.dev" + source: hosted + version: "0.15.5" + http: + dependency: "direct dev" + description: + name: http + sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 + url: "https://pub.dev" + source: hosted + version: "1.2.2" + http2: + dependency: transitive + description: + name: http2 + sha256: "9ced024a160b77aba8fb8674e38f70875e321d319e6f303ec18e87bd5a4b0c1d" + url: "https://pub.dev" + source: hosted + version: "2.3.0" + http_multi_server: + dependency: transitive + description: + name: http_multi_server + sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" + url: "https://pub.dev" + source: hosted + version: "3.2.1" + http_parser: + dependency: transitive + description: + name: http_parser + sha256: "76d306a1c3afb33fe82e2bbacad62a61f409b5634c915fceb0d799de1a913360" + url: "https://pub.dev" + source: hosted + version: "4.1.1" + intl: + dependency: transitive + description: + name: intl + sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf + url: "https://pub.dev" + source: hosted + version: "0.19.0" + intl_translation: + dependency: transitive + description: + name: intl_translation + sha256: b3f1ebfab4109d1a946b45c57523628da92a0e2a2df5f2d9981ef4334fd24a26 + url: "https://pub.dev" + source: hosted + version: "0.20.1" + io: + dependency: transitive + description: + name: io + sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" + url: "https://pub.dev" + source: hosted + version: "1.0.4" + js: + dependency: transitive + description: + name: js + sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf + url: "https://pub.dev" + source: hosted + version: "0.7.1" + json_annotation: + dependency: transitive + description: + name: json_annotation + sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" + url: "https://pub.dev" + source: hosted + version: "4.9.0" + jwt_generator: + dependency: "direct main" + description: + name: jwt_generator + sha256: "19230c2077efab93e8a7060c2418d10bda4b6b919ae2cb0033eef8837461a3ad" + url: "https://pub.dev" + source: hosted + version: "0.0.3" + lints: + dependency: transitive + description: + name: lints + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" + url: "https://pub.dev" + source: hosted + version: "4.0.0" + logging: + dependency: transitive + description: + name: logging + sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 + url: "https://pub.dev" + source: hosted + version: "1.3.0" + macros: + dependency: transitive + description: + name: macros + sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536" + url: "https://pub.dev" + source: hosted + version: "0.1.2-main.4" + matcher: + dependency: transitive + description: + name: matcher + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb + url: "https://pub.dev" + source: hosted + version: "0.12.16+1" + meta: + dependency: transitive + description: + name: meta + sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c + url: "https://pub.dev" + source: hosted + version: "1.16.0" + mime: + dependency: transitive + description: + name: mime + sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6" + url: "https://pub.dev" + source: hosted + version: "2.0.0" + mockito: + dependency: "direct dev" + description: + name: mockito + sha256: "6841eed20a7befac0ce07df8116c8b8233ed1f4486a7647c7fc5a02ae6163917" + url: "https://pub.dev" + source: hosted + version: "5.4.4" + mocktail: + dependency: transitive + description: + name: mocktail + sha256: "890df3f9688106f25755f26b1c60589a92b3ab91a22b8b224947ad041bf172d8" + url: "https://pub.dev" + source: hosted + version: "1.0.4" + node_preamble: + dependency: transitive + description: + name: node_preamble + sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db" + url: "https://pub.dev" + source: hosted + version: "2.0.2" + os_detect: + dependency: transitive + description: + name: os_detect + sha256: e704fb99aa30b2b9a284d87a28eef9ba262f68c25c963d5eb932f54cad07784f + url: "https://pub.dev" + source: hosted + version: "2.0.2" + package_config: + dependency: transitive + description: + name: package_config + sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" + url: "https://pub.dev" + source: hosted + version: "2.1.0" + path: + dependency: transitive + description: + name: path + sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" + url: "https://pub.dev" + source: hosted + version: "1.9.1" + pointycastle: + dependency: transitive + description: + name: pointycastle + sha256: "4be0097fcf3fd3e8449e53730c631200ebc7b88016acecab2b0da2f0149222fe" + url: "https://pub.dev" + source: hosted + version: "3.9.1" + pool: + dependency: transitive + description: + name: pool + sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" + url: "https://pub.dev" + source: hosted + version: "1.5.1" + protobuf: + dependency: transitive + description: + name: protobuf + sha256: "68645b24e0716782e58948f8467fd42a880f255096a821f9e7d0ec625b00c84d" + url: "https://pub.dev" + source: hosted + version: "3.1.0" + pub_semver: + dependency: transitive + description: + name: pub_semver + sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + pubspec_parse: + dependency: transitive + description: + name: pubspec_parse + sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8 + url: "https://pub.dev" + source: hosted + version: "1.3.0" + rsa_pkcs: + dependency: transitive + description: + name: rsa_pkcs + sha256: "6e1e03563d2cbd9758d8a562f738b759763d464fd65d32da132153230a0c0395" + url: "https://pub.dev" + source: hosted + version: "2.1.0" + scratch_space: + dependency: transitive + description: + name: scratch_space + sha256: "8510fbff458d733a58fc427057d1ac86303b376d609d6e1bc43f240aad9aa445" + url: "https://pub.dev" + source: hosted + version: "1.0.2" + shelf: + dependency: transitive + description: + name: shelf + sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 + url: "https://pub.dev" + source: hosted + version: "1.4.2" + shelf_packages_handler: + dependency: transitive + description: + name: shelf_packages_handler + sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e" + url: "https://pub.dev" + source: hosted + version: "3.0.2" + shelf_static: + dependency: transitive + description: + name: shelf_static + sha256: c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3 + url: "https://pub.dev" + source: hosted + version: "1.1.3" + shelf_web_socket: + dependency: transitive + description: + name: shelf_web_socket + sha256: cc36c297b52866d203dbf9332263c94becc2fe0ceaa9681d07b6ef9807023b67 + url: "https://pub.dev" + source: hosted + version: "2.0.1" + source_gen: + dependency: transitive + description: + name: source_gen + sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832" + url: "https://pub.dev" + source: hosted + version: "1.5.0" + source_map_stack_trace: + dependency: transitive + description: + name: source_map_stack_trace + sha256: c0713a43e323c3302c2abe2a1cc89aa057a387101ebd280371d6a6c9fa68516b + url: "https://pub.dev" + source: hosted + version: "2.1.2" + source_maps: + dependency: transitive + description: + name: source_maps + sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703" + url: "https://pub.dev" + source: hosted + version: "0.10.12" + source_span: + dependency: transitive + description: + name: source_span + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" + url: "https://pub.dev" + source: hosted + version: "1.10.0" + sprintf: + dependency: transitive + description: + name: sprintf + sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" + url: "https://pub.dev" + source: hosted + version: "7.0.0" + stack_trace: + dependency: transitive + description: + name: stack_trace + sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" + url: "https://pub.dev" + source: hosted + version: "1.12.0" + stream_channel: + dependency: transitive + description: + name: stream_channel + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + url: "https://pub.dev" + source: hosted + version: "2.1.2" + stream_transform: + dependency: transitive + description: + name: stream_transform + sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" + url: "https://pub.dev" + source: hosted + version: "2.1.0" + string_scanner: + dependency: transitive + description: + name: string_scanner + sha256: "0bd04f5bb74fcd6ff0606a888a30e917af9bd52820b178eaa464beb11dca84b6" + url: "https://pub.dev" + source: hosted + version: "1.4.0" + term_glyph: + dependency: transitive + description: + name: term_glyph + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + url: "https://pub.dev" + source: hosted + version: "1.2.1" + test: + dependency: transitive + description: + name: test + sha256: f2a018e2baa6fce7c8daa55b8bdf4b3d7d165f82caac269e4cbe5edd666c0e4c + url: "https://pub.dev" + source: hosted + version: "1.25.9" + test_api: + dependency: transitive + description: + name: test_api + sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd + url: "https://pub.dev" + source: hosted + version: "0.7.4" + test_core: + dependency: transitive + description: + name: test_core + sha256: "60ff490bb383858015df7b7a0d883301a426edf9033989f55f091d91efb9dfaf" + url: "https://pub.dev" + source: hosted + version: "0.6.6" + test_reporter: + dependency: "direct dev" + description: + name: test_reporter + sha256: "38b7aae776b7207fb0017db8de1b944297f84c62415cab75c79322b0fb0739d1" + url: "https://pub.dev" + source: hosted + version: "1.1.5" + timing: + dependency: transitive + description: + name: timing + sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" + url: "https://pub.dev" + source: hosted + version: "1.0.1" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 + url: "https://pub.dev" + source: hosted + version: "1.4.0" + universal_io: + dependency: transitive + description: + name: universal_io + sha256: "1722b2dcc462b4b2f3ee7d188dad008b6eb4c40bbd03a3de451d82c78bba9aad" + url: "https://pub.dev" + source: hosted + version: "2.2.2" + uuid: + dependency: transitive + description: + name: uuid + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff + url: "https://pub.dev" + source: hosted + version: "4.5.1" + vm_service: + dependency: transitive + description: + name: vm_service + sha256: "0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14" + url: "https://pub.dev" + source: hosted + version: "14.3.1" + watcher: + dependency: transitive + description: + name: watcher + sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" + url: "https://pub.dev" + source: hosted + version: "1.1.0" + web: + dependency: transitive + description: + name: web + sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb + url: "https://pub.dev" + source: hosted + version: "1.1.0" + web_socket: + dependency: transitive + description: + name: web_socket + sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83" + url: "https://pub.dev" + source: hosted + version: "0.1.6" + web_socket_channel: + dependency: transitive + description: + name: web_socket_channel + sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f" + url: "https://pub.dev" + source: hosted + version: "3.0.1" + webkit_inspection_protocol: + dependency: transitive + description: + name: webkit_inspection_protocol + sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572" + url: "https://pub.dev" + source: hosted + version: "1.2.1" + yaml: + dependency: transitive + description: + name: yaml + sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" + url: "https://pub.dev" + source: hosted + version: "3.1.2" +sdks: + dart: ">=3.5.2 <3.7.0" diff --git a/pubspec.yaml b/pubspec.yaml new file mode 100644 index 00000000..5d6c63db --- /dev/null +++ b/pubspec.yaml @@ -0,0 +1,25 @@ +name: firebase_dart_admin_auth_sdk +description: A Dart SDK for Firebase Admin Authentication, enabling secure server-side authentication and user management for Dart-based backend applications. +version: 0.0.1-pre+10 +repository: https://github.com/aortem/firebase-dart-admin-auth-sdk + +environment: + sdk: ">=3.0.0 <4.0.0" + +dependencies: + # ------------------ STANDARD FEATURES ------------------------------ + # There are three standard libraries. Each one can be used with a different xxx + ds_standard_features: ^0.0.1-pre+11 # Standard Dart Team Utilities For HTTP //Default + build_web_compilers: ^4.0.11 + jwt_generator: ^0.0.3 + # Uncomment for WEB support: + # ds_standard_features_web: ^0.0.1-pre+1 + # Uncomment for GRPC support: + # ds_standard_features_grpc: ^0.0.1-pre+1 + +dev_dependencies: + # ------------------ TESTING FEATURES ------------------------------ + ds_tools_testing: ^0.0.1-pre+2 # Standard Dart Team Testing Tools + test_reporter: any # Required to generate JUnit report + http: any + mockito: any