I have this old MVC5 application that uses forms authentication in the simplest form possible. Only one account is stored in web.config, no roles, etc.
<authentication mode="Forms">
<forms loginUrl="~/Login/Index" timeout="30">
<credentials passwordFormat="Clear">
<user name="some-user" password="some-password" />
</credentials>
</forms>
</authentication>
The login procedure simply calls
FormsAuthentication.Authenticate(name, password);
What is it. Is there something similar (in terms of simplicity) in the asp.net core?
source
share