public AuthViewModel(IESigAuthService authService) { // TODO: set configuration error message. if (null == authService) { IsAuth = false; return; } // authenticate user via service. //IsAuth = authService.AuthenticateUser(); }
public BarcodeScanViewModel(IESigAuthService authService) { _authService = authService; }
public MainViewModel(IESigAuthService authService) { // TODO, get user and pass in User type to the auth Service for authenticaiton. _authService = authService; }
public MainViewModel(IESigAuthService authService) { _authService = authService; }
// KEEP becasue hope is we can move our register work and get to use only this constructor //public LoginViewModel(IESigAuthService authService) //{ // _authService = authService; //} // TODO: Get this class to the point where the constructor does NOT need registerService. // all the register work should happen in the RegisterViewModel, so we should be able to // slowly move it out of this class. public LoginViewModel(IESigAuthService authService, IRegistrerDeviceService registerService) { // TODO, get user and pass in User type to the auth Service for authenticaiton. _authService = authService; _registerService = registerService; }