In Asp.Net MVC, what other parameters do I have with authentication mode?

In the Web.config file, this piece of information is

<authentication mode="Forms"> <forms loginUrl="~/Account/LogOn" timeout="2880" /> </authentication> 

What other mode can I set and can I have several modes?

Some users can login using username / password, others with x509 clientCert.

Where is the information about this?

+6
source share
1 answer

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> 
+1
source

Source: https://habr.com/ru/post/897671/


All Articles