Coder Social home page Coder Social logo

kolluri-rk / aspnetcoresecuritysamples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alfusinigoj/aspnetcoresecuritysamples

0.0 1.0 0.0 4.41 MB

Samples for various ASP.NET Core Security Features

License: Apache License 2.0

C# 2.29% JavaScript 95.21% CSS 0.46% HTML 2.04%

aspnetcoresecuritysamples's Introduction

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.

aspnetcoresecuritysamples's People

Contributors

altenstedt avatar leastprivilege avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.