|
|
||
|---|---|---|
| .. | ||
| Controllers | ||
| Models | ||
| Views | ||
| wwwroot | ||
| .bowerrc | ||
| ConfigureMyCookie.cs | ||
| Cookies.csproj | ||
| Program.cs | ||
| README.md | ||
| Startup.cs | ||
| appsettings.Development.json | ||
| appsettings.json | ||
| bower.json | ||
| bundleconfig.json | ||
README.md
AuthSamples.Cookies
Sample demonstrating cookie authentication:
- Run the app and click on the MyClaims tab, this should trigger a redirect to login.
- Login with any username and password, the sample just validates that any values are provided.
- 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.