baoqger / aspnetcore-authn-cookie

aspnetcore-authn-cookie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AuthSamples.Cookies

Sample demonstrating cookie authentication:

  1. Run the app and click on the MyClaims tab, this should trigger a redirect to login.
  2. Login with any username and password, the sample just validates that any values are provided.
  3. You should be redirected back to /Home/MyClaims which will output a few user claims.

Startup.cs and Controllers/AccountController.cs are the most interesting classes in the sample.

About

aspnetcore-authn-cookie


Languages

Language:HTML 63.8%Language:C# 32.8%Language:CSS 3.3%Language:JavaScript 0.2%