在Asp.Net MVC中,我对身份验证模式有哪些其他选择?

Ing*_*als 6 forms-authentication client-certificates asp.net-mvc-3

在Web.config文件中,这条信息就在那里

<authentication mode="Forms">
  <forms loginUrl="~/Account/LogOn" timeout="2880" />
</authentication>
Run Code Online (Sandbox Code Playgroud)

我可以设置其他模式,我可以有多种模式吗?

一些用户可以使用username/pass登录,其他用户使用x509 clientCert登录.

哪里有关于此的信息?

小智 3

mvc 中我们可以有五种身份验证模式...

<authentication mode="Federated"></authentication>
<authentication mode="Forms"></authentication>
<authentication mode="None"></authentication>
<authentication mode="Passport"></authentication>
<authentication mode="Windows"></authentication>
Run Code Online (Sandbox Code Playgroud)