blazor服务器端的授权策略
问题描述:
我正在尝试在blazor服务器端找到与asp.net核心授权策略等效的文档,但似乎找不到任何内容.
I'm trying to find docs on the blazor server side equivalent of asp.net core authorization policies, but can't seem to find anything.
有人可以告诉我blazor服务器端的授权机制是什么吗?
Can someone tell me what the mechanism is for authorization in blazor server side?
答
Blazor的身份验证和授权目前不存在. Asp.Net团队目前正在研究... 您可能在这里阅读了整个故事: https://github.com/aspnet/AspNetCore/issues/4048
No authentication and authorization for Blazor exist right now. The Asp.Net team is currently working on it... You may read here the whole story: https://github.com/aspnet/AspNetCore/issues/4048
希望这对您有帮助...
Hope this helps...