From 73000249e70b31d7036d9211e07c27c46c443f5a Mon Sep 17 00:00:00 2001 From: Travis Sheppard Date: Mon, 22 Aug 2022 09:05:41 -0800 Subject: [PATCH] fix(auth): correct auth providers imports from rebase (#2042) --- .../amplify_auth_cognito/lib/src/auth_plugin_impl.dart | 7 +++++-- .../test/plugin/auth_providers_test.dart | 0 2 files changed, 5 insertions(+), 2 deletions(-) rename packages/auth/{amplify_auth_cognito_dart => amplify_auth_cognito_test}/test/plugin/auth_providers_test.dart (100%) diff --git a/packages/auth/amplify_auth_cognito/lib/src/auth_plugin_impl.dart b/packages/auth/amplify_auth_cognito/lib/src/auth_plugin_impl.dart index b4e7585490..c16bc3ebba 100644 --- a/packages/auth/amplify_auth_cognito/lib/src/auth_plugin_impl.dart +++ b/packages/auth/amplify_auth_cognito/lib/src/auth_plugin_impl.dart @@ -87,8 +87,11 @@ class AmplifyAuthCognito extends AmplifyAuthCognitoDart with AWSDebuggable { } @override - Future configure({AmplifyConfig? config}) async { - await super.configure(config: config); + Future configure({ + AmplifyConfig? config, + required AmplifyAuthProviderRepository authProviderRepo, + }) async { + await super.configure(config: config, authProviderRepo: authProviderRepo); // Update the native cache for the current user on hub events. final nativeBridge = stateMachine.get(); diff --git a/packages/auth/amplify_auth_cognito_dart/test/plugin/auth_providers_test.dart b/packages/auth/amplify_auth_cognito_test/test/plugin/auth_providers_test.dart similarity index 100% rename from packages/auth/amplify_auth_cognito_dart/test/plugin/auth_providers_test.dart rename to packages/auth/amplify_auth_cognito_test/test/plugin/auth_providers_test.dart