public IActionResult Login() { int tokenExpired = Convert.ToInt32(_configuration[JwtConst.TokenExpiredHours]); string token = _jwtTokenUtil.CreateToken(new LoginUser(), tokenExpired); return(Ok(token)); }
public IActionResult Login() { int tokenExpired = Convert.ToInt32(_configuration[JwtConst.TokenExpiredHours]); string token = _jwtTokenUtil.CreateToken(new LoginUser(), tokenExpired); return(Ok(token)); }