public LoginViewModel()
 {
     azureService   = new AzureLoginService();
     LoginCommand   = new RelayCommand(DoLogin);
     LogOutCommand  = new RelayCommand(DoLogout);
     MonitorCommand = new RelayCommand(DoMonitor);
     myDeviceTest   = new DeviceTest();
 }
Ejemplo n.º 2
0
 public void AzureLogin_ShouldAttemptToLogin_WhenAccessedCorrectlyWithoutACertificate()
 {
     Assert.Throws <AdalServiceException>(() => {
         AzureLoginService.AzureLogin("a", "b", "c");
     });
 }