Name,username), new Claim(ClaimTypes.Role,"Admin") }, CookieAuthenticationDefaults.AuthenticationScheme); isAuthenticate = true; } if (username == "demo" ...
確定! 回上一頁