コード例 #1
0
 public ActionResult GetToken([FromForm] VaultAppRole model)
 {
     model.GetToken();
     return(View("Index", model));
 }
コード例 #2
0
 public ActionResult GetSqlCredentials([FromForm] VaultAppRole model)
 {
     model.GetCredentials();
     return(View("Index", model));
 }
コード例 #3
0
        // GET: Home
        public ActionResult Index()
        {
            var model = new VaultAppRole(Configuration);

            return(View(model));
        }