Skip to content
Projets

leastprivilege/AspNetCoreSecuritySamples

Voir sur GitHub

leastprivilege/AspNetCoreSecuritySamples has 703 GitHub stars and 148 forks. GitHot measured 0 stars in 24 hours and -1 in 7 days. Last checked 2026-11-23 20:05 UTC. Last push 2020-10-12.

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
-1
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

À propos

Samples for various ASP.NET Core Security Features

Sécurité

README.md

Original

Samples for various ASP.NET Core Security Features

Many samples you find on the internet try to demo a certain feature in the context of a larger use-case. I find this often distracting.

The samples here follow the "write the simplest sample to show the feature" philosophy. Maybe you find this more useful.

Local Authentication

Simple local login page with cookie-based session.

External Authentication with callback

Google authentication will simple callback logic on an MVC controller.

OidcTokensApis

Sample showing cookie-based session with OpenID Connect-based authentication and automated access token lifetime management.

Authorization

Some variations of policy- and resource-based authorization

DataProtection

Shows simple protect/unprotect calls and corresponding key container.

SPA & BFF

Two variations of how to protect a JavaScript application. SPA is pure JS where the token management happens in the front-end, whereas BFF is a combination of UI front-end and back-end token management.

Device Flow

Simple device flow client.

Explorer des projets similaires

Chargement…