public IActionResult OpenStackAuthenticate(OpenIdConnectModel model)
        {
            // OpenStack openStack = new OpenStack();
            // try
            // {
            //     var applicationCredentials = openStack.CreateApplicationCredentials("test_name" + (DateTime.UtcNow.Ticks / 4), 600);
            //     model.OpenStackResult = JsonConvert.SerializeObject(applicationCredentials, Formatting.Indented);
            // }
            // catch (OpenStackAPIException e)
            // {
            //     model.RequestWasSuccessful = false;
            //     model.OpenStackResult = e.Message;
            // }

            model.RequestWasSuccessful = true;
            model.OpenStackResult      = "Use RestApi for testing.";
            return(Index(model));
        }
 public IActionResult OpenIdAuthenticate(OpenIdConnectModel model)
 {
     throw new NotImplementedException();
     return(Index(model));
 }
 public IActionResult OpenIdTokenIntrospection(OpenIdConnectModel model)
 {
     throw new NotImplementedException();
     return(Index(model));
 }
 private IActionResult Index(OpenIdConnectModel model)
 {
     return(View("Index", model));
 }