configure_injection library
Functions
-
configureAuthenticationAdvancedInjection(
AppEnvironment environment, AuthenticationFireSocialConfig config, {AuthenticationSocialService customAuthServiceFactory()?}) → Future< void> -
This functions register:
SharedPreferencesif not registered previouslyIHttpClientif not registered previously AuthenticationFireSocialConfig if not registered previously GoogleSignInFacade if not registered previously FacebookSignInFacade if not registered previously AppleSignInFacade if not registered previouslyAuthenticationServicewithAuthenticationServiceImplimplementation, if passed test environment, it will provide aAuthenticationServiceMockIt also provides a way to implement custom implementation ofAuthenticationService