I set up a claim in a jwt token like this. Claims is a list that will be passed to create a jwt token. Claims.Add(new Claim(ClaimTypes.Role, "Admin"));.
確定! 回上一頁