예제 #1
0
        public IActionResult Create([FromForm] JWTInput request)
        {
            var jwtResponse = TokenService.Authenticate(request);

            TempData["encoded"] = jwtResponse;
            return(RedirectToAction("Index"));
        }