... user = new ClaimsPrincipal(new ClaimsIdentity(new[] { new Claim(ClaimTypes. ... Role) }; var identity = new ClaimsIdentity(claims, ...
確定! 回上一頁