Ejemplo n.º 1
0
 /// <summary>
 /// This method refers to ServerConfigurationManager class --> IsEmpty() method
 /// in 'io.asgardio.dotnet.oidc.sdk' library and check whether each and every <app_settings> is
 /// completed in 'app.config' file. If <app_settings> data is empty it'll load the 'ConfigurationPage',
 /// else load the 'LoginPage'.
 /// </summary>
 public App()
 {
     if (ServerConfigurationManager.IsEmpty() == true)
     {
         ConfigurationPage configuration = new ConfigurationPage();
         configuration.Show();
     }
     else
     {
         LoginPage login = new LoginPage();
         login.Show();
     }
 }