ITPub博客

首页 > > > asp.net core HttpContext.User.Identity.IsAuthentic

asp.net core HttpContext.User.Identity.IsAuthentic

作者:markriver 时间:2019-10-29 12:02:11 0 删除 编辑

下面是登录代码:

下面是注册相关服务代码:

登陆验证用户名和密码后,调用SignInAsync方法写入用户信息,但是

HttpContext.User.Identity.IsAuthenticated总是false,求高手指教

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/818/viewspace-3153837/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2020-07-03

  • 博文量
    502
  • 访问量
    18508