public AuthenticationService(IPlatformAuthenticator authenticator, IMobileServiceClient mobileService, IDataService dataService) { _authenticator = authenticator; _mobileService = mobileService; _dataService = dataService; _accountStore = AccountStore.Create(); }
public AuthenticationService(IPlatformAuthenticator authenticator, AccountStore accountStore, IMobileServiceClient mobileService, IDataService dataService, ISettingsService settingService) { _authenticator = authenticator; _mobileService = mobileService; _dataService = dataService; _settingsService = settingService; // can't use AccountStore.Create() for UWP _accountStore = accountStore; }