更新时间:2022-04-29 03:22:23
当然,装点您的行为或全班[Authorize]$c$c>它将要求该用户在第一次登录
Sure, decorate your actions or the whole class with [Authorize] and it will require that the user is logged in first.
[Authorize]
为什么AuthorizeAttribute重定向到登录页面进行身份验证和授权失败?
MVC4 Windows身份验证重定向到帐户/登录
MVC4 Windows 身份验证重定向到帐户/登录
ASP.NET使用基本身份验证重定向到网站
Django总是重定向到登录页面[在Chrome和Firefox中,不会发生在Safari中]
ASP.NET MVC4重定向到登录页面
ASP.NET Core:从GET重定向到POST
重定向到登录页面
页面重定向到登录页面
webservice请求用户名和密码用于重定向到登录页面的服务器