if(user.Claims.Where(p => p.Type == "sub").Count()==0)即可判断.net core 2 3 claims 某一项是否为空
小技巧:领取阿里云优惠券
posted on 2018-08-03 15:14 阿里云计算 阅读(355) 评论(0) 收藏 举报