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>
精彩评论