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