Daniel-Krzyczkowski / IdentityDeveloperTemplates

This repository contains helpful code templates for Azure cloud identity developers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IdentityDeveloperTemplates.jpg

Introduction

This project and repository was created to collect templates related to Microsoft Identity Platform and common authentication scenarios using best security practices.

Code samples build

AD-B2C custom policies release

If you like this content, please give it a star! github-start.png

Below main chapters are covered (will be extended in the future):

1. ASP. NET Core Razor Pages Web Application secured by Azure Active Directory

2. ASP. NET Core Razor Pages Web Application secured by Azure Active Directory B2C

3. ASP .NET Core Razor Pages web application secured by Azure Active Directory B2C with Authorization Data Storage

4. ASP. NET Core Web API secured by Azure Active Directory

5. ASP. NET Core Web API secured by Azure Active Directory with roles authorization

6. ASP. NET Core Web API secured by Azure Active Directory B2C

7. UWP app secured by Azure Active Directory

8. UWP app secured by Azure Active Directory B2C

9. Azure Active Directory B2C generic templates with continuous delivery

10. Azure Active Directory B2C generic templates with MFA enabled

ASP. NET Core Razor Pages Web Application secured by Azure Active Directory

This code sample presents how to secure ASP .NET Core Razor Pages web application with Azure Active Directory. This sample uses Microsoft Identity Web library.

Source code

ASP. NET Core Razor Pages Web Application secured by Azure Active Directory B2C

This code sample presents how to secure ASP .NET Core Razor Pages web application with Azure Active Directory B2C. This sample uses Microsoft Identity Web library.

Source code

ASP. NET Core Web API secured by Azure Active Directory

This code sample presents how to secure ASP .NET Web API application with Azure Active Directory. This sample uses Microsoft Identity Web library.

Source code

ASP. NET Core Razor Pages Web Application secured by Azure Active Directory B2C with Authorization Data Storage

This code sample presents how to secure ASP .NET Core Razor Pages web application with Azure Active Directory B2C with Authorization Data Storage. This sample uses Microsoft Identity Web library.

This solution is described on my tech blog.

Azure Functions source code

ASP .NET Core Razor Pages Web Application source code

ASP. NET Core Web API secured by Azure Active Directory with roles authorization

This code sample presents how to secure ASP .NET Web API application with Azure Active Directory and use role authorization. This sample uses Microsoft Identity Web library.

Source code

ASP. NET Core Web API secured by Azure Active Directory B2C

This code sample presents how to secure ASP .NET Core Razor Pages web application with Azure Active Directory B2C. This sample uses Microsoft Identity Web library.

Source code

UWP app secured by Azure Active Directory

This code sample presents how to secure UWP application with Azure Active Directory. This sample uses Microsoft Identity Client library.

Source code

UWP app secured by Azure Active Directory B2C

This code sample presents how to secure UWP application with Azure Active Directory B2C. This sample uses Microsoft Identity Client library.

Source code

Azure Active Directory B2C generic templates with continuous delivery

Source code

This sample presents how to create generic custom policies and setup continuous delivery for them using GitHub Actions.

This solution is described on my tech blog.

Azure Active Directory B2C generic templates with MFA enabled

This sample presents how to enable MFA for the Azure AD B2C custom policies.

Source code

Azure Function calling ASP .NET Core Web API secured by Azure AD B2C using client credentials flow

This sample presents how to send the request from the Azure Function App to ASP .NET Core Web API with access token obtained from the Azure AD B2C using client credentials flow.

Source code of Azure Function

Source code of ASP .NET Core Web API

About

This repository contains helpful code templates for Azure cloud identity developers.

License:MIT License


Languages

Language:C# 59.8%Language:CSS 21.5%Language:HTML 16.4%Language:PowerShell 1.9%Language:JavaScript 0.4%