Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 288
Ingó Vals Avatar asked Sep 20 '11 11:09

Ingó Vals


1 Answers

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>
like image 159
Hemlata Gehlot Avatar answered Oct 17 '22 00:10

Hemlata Gehlot