Git Product home page Git Product logo

mitchelsellers / dotnet-maui-blazor-customauthentication-sample Goto Github PK

View Code? Open in Web Editor NEW
41.0 6.0 17.0 277 KB

This is a demonstration project supporting a blog posting about authentication in .NET MAUI Blazor Hybrid

Home Page: https://mitchelsellers.com/blog/article/net-maui-blazor-hybrid-custom-authentication-implementation

License: MIT License

C# 39.90% HTML 38.97% CSS 21.13%
dotnet-core maui maui-blazor blazor authentication samples

dotnet-maui-blazor-customauthentication-sample's Introduction

.NET MAUI Blazor Hybrid - Custom Authentication Sample

This is a demonstration project supporting a blog posting discussing custom authentication in .NET MAUI Blazor Hybrid applications.

Disclaimer

This project is currently built upon the Preview 14 version of .NET MAUI and all items included in here are subject to change, and could no-longer function in later preview releases or final releases of MAUI/Blazor. Additionally, this is a sample implementation, and might need further rigorous testing implementations to 100% validate security, so please use at your discretion.

Solution Goal

The goal of this example is to showcase how you can implement custom authentication within an .NET MAUI Blazor Hybrid application in a manner where you can authenticate a user via an alternative means, other than Azure AD or OAuth and work using the built in authentication controls & processes for your MAUI application.

Installation Assumptions

To utilize this sample project you must be running Visual Studio 2022 Preview 2.1 (17.2.0 Preview 2.1), or possibly later, with the .NET MAUI features installed.

I will update this as future releases occur.

Repository structure

For ease of use, the project initially contains 2 commits.

  1. Initial source code from project creation using the Visual Studio Templates
  2. A secondary commit with all custom authentication bits included. This includes securing of all sample pages, and the addition of a new login screen.

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.