Пример #1
0
 public async Task<IActionResult> RefreshTokenAsync()
 {
     var username = User.Identity.Name;
     var user = _auth.FindUser(username);
     return new JsonResult(await _auth.AuthenticateAsync(user));
 }