开发者

In Asp.Net MVC what other options do I have with Authentication Mode?

开发者 https://www.devze.com 2023-04-06 16:23 出处:网络
In the Web.config file this piece of info is there <authentication mode=\"Forms\"> <开发者_Go百科forms loginUrl=\"~/Account/LogOn\" timeout=\"2880\" />

In the Web.config file this piece of info is there

<authentication mode="Forms">
  <开发者_Go百科forms loginUrl="~/Account/LogOn" timeout="2880" />
</authentication>

What other mode can I set and could I have multiple modes?

Some users could logon using username/pass, others with x509 clientCert.

Where is there some info on this?


We can have five authentication modes in mvc ...

<authentication mode="Federated"></authentication>
<authentication mode="Forms"></authentication>
<authentication mode="None"></authentication>
<authentication mode="Passport"></authentication>
<authentication mode="Windows"></authentication>
0

精彩评论

暂无评论...
验证码 换一张
取 消