根据用户名授权Blazor Server应用程序/页面
我似乎找不到这个问题的精确解决方案。我正在使用Blazor Server应用程序上的Windows身份验证,这很好。但是,如果有人登录并经过身份验证后,我希望能够撤销他们的授权,如果他们不在我指示的用户名列表中。因此,从本质上讲,我想通过用户名而不是角色授权。
I can't seem to find an exact solution to this issue. I am using windows authentication on my blazor server app and that works fine. But after someone logs in and is authenticated I want to be able to revoke their authorization if they are not in a list of user names that I indicated. So in essence I want to authorize by username and not roles.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论