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

Ingó Vals picture Ingó Vals · Sep 20, 2011 · Viewed 10.3k times · Source

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

<authentication mode="Forms">
  <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?

Answer

Hemlata Gehlot picture Hemlata Gehlot · May 19, 2017

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>