摘要:
添加角色: public string AddRole(string roleName) { if (_roleManager.FindByNameAsync(roleName).Result == null) { var role = new IdentityRole { Name = roleN 阅读全文
posted @ 2021-05-04 19:16
星星c#
阅读(406)
评论(0)
推荐(0)
摘要:
服务器端配置: Client oneResult = new Client { ClientId = client.ClientId, ClientName = client.ClientName, AllowedGrantTypes = GrantTypes.ResourceOwnerPasswo 阅读全文
posted @ 2021-05-04 19:15
星星c#
阅读(275)
评论(0)
推荐(0)
摘要:
服务器端配置: Client oneResult = new Client { ClientId = "localHtml", ClientName = "test", AllowedGrantTypes = GrantTypes.ResourceOwnerPassword, ClientSecre 阅读全文
posted @ 2021-05-04 09:38
星星c#
阅读(420)
评论(0)
推荐(0)