Microsoft.AspNetCore.Components.WebAssembly.Authentication 10.0.0-preview.3.25172.1

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Components.WebAssembly.Authentication.
dotnet add package Microsoft.AspNetCore.Components.WebAssembly.Authentication --version 10.0.0-preview.3.25172.1
                    
NuGet\Install-Package Microsoft.AspNetCore.Components.WebAssembly.Authentication -Version 10.0.0-preview.3.25172.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="10.0.0-preview.3.25172.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="10.0.0-preview.3.25172.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.Components.WebAssembly.Authentication --version 10.0.0-preview.3.25172.1
                    
#r "nuget: Microsoft.AspNetCore.Components.WebAssembly.Authentication, 10.0.0-preview.3.25172.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.Components.WebAssembly.Authentication&version=10.0.0-preview.3.25172.1&prerelease
                    
Install Microsoft.AspNetCore.Components.WebAssembly.Authentication as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Components.WebAssembly.Authentication&version=10.0.0-preview.3.25172.1&prerelease
                    
Install Microsoft.AspNetCore.Components.WebAssembly.Authentication as a Cake Tool

About

Microsoft.AspNetCore.Components.WebAssembly.Authentication provides client-side authentication for Blazor apps running under WebAssembly.

How to Use

To use Microsoft.AspNetCore.Components.WebAssembly.Authentication, follow these steps:

Installation

dotnet add package Microsoft.AspNetCore.Components.WebAssembly.Authentication

Usage

For usage examples and documentation, refer to the offical documentation on Blazor WebAssembly security and identity.

Feedback & Contributing

Microsoft.AspNetCore.Components.WebAssembly.Authentication is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (129)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Components.WebAssembly.Authentication:

Package Downloads
bunit.web

bUnit.web is the web specific parts of bUnit, that enables you to easily test and verify the output of Blazor (web) component.

bunit

bUnit is a testing library for Blazor components. You can easily define components under test in C# or Razor syntax and verify outcome using semantic HTML diffing/comparison logic. You can interact with and inspect the component under test, trigger event handlers, provide cascading values, and inject services. bUnit also includes a complete fake implementation of Blazor's authentication and authorization logic, navigation manager, and JSInterop.

Microsoft.Authentication.WebAssembly.Msal

Authenticate your Blazor webassembly applications with Azure Active Directory and Azure Active Directory B2C This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/de35e2b0a0d8d5d1e307907983a6838da1092898

Rystem.Api.Client.Authentication.BlazorWasm

Rystem.Api helps you to integrate Api Server and Automated Client for Aspect-Oriented programming.

Rystem.RepositoryFramework.Api.Client.Authentication.BlazorWasm

Rystem.RepositoryFramework allows you to use correctly concepts like repository pattern, CQRS and DDD. You have interfaces for your domains, auto-generated api, auto-generated HttpClient to simplify connection "api to front-end", a functionality for auto-population in memory of your models, a functionality to simulate exceptions and waiting time from external sources to improve your implementation/business test and load test.

GitHub repositories (66)

Showing the top 20 popular GitHub repositories that depend on Microsoft.AspNetCore.Components.WebAssembly.Authentication:

Repository Stars
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb
ant-design-blazor/ant-design-blazor
🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 9 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
kurrent-io/KurrentDB
EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
dotnet-presentations/blazor-workshop
Blazor workshop
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 9 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 19, React 19, Vue 3.5, BFF with YARP, NextJs 15, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ..
Nethereum/Nethereum
Ethereum .Net cross platform integration library
oqtane/oqtane.framework
CMS & Application Framework for Blazor & .NET MAUI
Webreaper/Damselfly
Damselfly is a server-based Photograph Management app. The goal of Damselfly is to index an extremely large collection of images, and allow easy search and retrieval of those images, using metadata such as the IPTC keyword tags, as well as the folder and file names. Damselfly includes support for object/face detection.
DuendeSoftware/products
The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
dotnet-architecture/eShopOnDapr
A sample .NET distributed application based on eShopOnContainers, powered by Dapr.
WebVella/WebVella-ERP
Free and open-source pluggable ERP and CRM software based on ASP.NET Core 9, RazorPages and PostgreSQL . Targets Linux or Windows as host OS.
bUnit-dev/bUnit
bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass parameter and inject services into it, trigger event handlers, and verify the rendered markup from the component using a built-in semantic HTML comparer.
dotnet/aspire-samples
SteveSandersonMS/CarChecker
A sample Blazor WebAssembly application that includes authentication, in-browser data storage, offline support, localization, responsive layouts, and more. For a video walkthrough, see this link:
simpleidserver/SimpleIdServer
OpenID, OAuth 2.0, SCIM2.0, UMA2.0, FAPI, CIBA & OPENBANKING Framework for ASP.NET Core
AzureAD/microsoft-identity-web
Helps creating protected web apps and web APIs with Microsoft identity platform and Azure AD B2C
Version Downloads Last updated
10.0.0-preview.3.25172.1 311 4/10/2025
10.0.0-preview.2.25164.1 411 3/18/2025
10.0.0-preview.1.25120.3 447 2/25/2025
9.0.4 43,129 4/8/2025
9.0.3 206,067 3/11/2025
9.0.2 270,855 2/11/2025
9.0.1 183,041 1/14/2025
9.0.0 1,083,605 11/12/2024
9.0.0-rc.2.24474.3 12,412 10/8/2024
9.0.0-rc.1.24452.1 14,964 9/10/2024
9.0.0-preview.7.24406.2 12,291 8/13/2024
9.0.0-preview.6.24328.4 18,402 7/9/2024
9.0.0-preview.5.24306.11 1,698 6/11/2024
9.0.0-preview.4.24267.6 612 5/21/2024
9.0.0-preview.3.24172.13 17,176 4/11/2024
9.0.0-preview.2.24128.4 912 3/12/2024
9.0.0-preview.1.24081.5 6,397 2/13/2024
8.0.15 7,769 4/8/2025
8.0.14 39,239 3/11/2025
8.0.13 69,839 2/11/2025
8.0.12 107,950 1/14/2025
8.0.11 474,624 11/12/2024
8.0.10 829,374 10/8/2024
8.0.8 903,199 8/13/2024
8.0.7 875,052 7/9/2024
8.0.6 1,269,528 5/28/2024
8.0.5 294,605 5/14/2024
8.0.4 865,618 4/9/2024
8.0.3 873,818 3/12/2024
8.0.2 967,357 2/13/2024
8.0.1 560,873 1/9/2024
8.0.0 2,390,695 11/14/2023
8.0.0-rc.2.23480.2 88,799 10/10/2023
8.0.0-rc.1.23421.29 8,663 9/12/2023
8.0.0-preview.7.23375.9 32,322 8/8/2023
8.0.0-preview.6.23329.11 10,141 7/11/2023
8.0.0-preview.5.23302.2 2,467 6/13/2023
8.0.0-preview.4.23260.4 1,563 5/16/2023
8.0.0-preview.3.23177.8 1,908 4/11/2023
8.0.0-preview.2.23153.2 1,121 3/14/2023
8.0.0-preview.1.23112.2 695 2/21/2023
7.0.20 64,863 5/28/2024
7.0.19 8,847 5/14/2024
7.0.18 37,863 4/9/2024
7.0.17 17,564 3/12/2024
7.0.16 49,652 2/13/2024
7.0.15 50,846 1/9/2024
7.0.14 157,984 11/14/2023
7.0.13 93,690 10/24/2023
7.0.12 83,186 10/10/2023
7.0.11 111,480 9/12/2023
7.0.10 288,162 8/8/2023
7.0.9 183,819 7/11/2023
7.0.8 69,517 6/22/2023
7.0.7 78,352 6/13/2023
7.0.5 584,089 4/11/2023
7.0.4 184,587 3/14/2023
7.0.3 212,443 2/14/2023
7.0.2 213,198 1/10/2023
7.0.1 163,565 12/13/2022
7.0.0 1,784,191 11/7/2022
7.0.0-rc.2.22476.2 23,942 10/11/2022
7.0.0-rc.1.22427.2 49,285 9/14/2022
7.0.0-preview.7.22376.6 3,000 8/9/2022
7.0.0-preview.6.22330.3 2,071 7/12/2022
7.0.0-preview.5.22303.8 1,784 6/14/2022
7.0.0-preview.4.22251.1 84,698 5/10/2022
7.0.0-preview.3.22178.4 12,300 4/13/2022
7.0.0-preview.2.22153.2 736 3/14/2022
7.0.0-preview.1.22109.13 723 2/17/2022
6.0.36 10,044 11/12/2024
6.0.35 5,259 10/8/2024
6.0.33 37,596 8/13/2024
6.0.32 11,188 7/9/2024
6.0.31 13,655 5/28/2024
6.0.30 4,028 5/14/2024
6.0.29 41,023 4/9/2024
6.0.28 11,338 3/12/2024
6.0.27 34,867 2/13/2024
6.0.26 56,605 1/9/2024
6.0.25 126,129 11/14/2023
6.0.24 36,660 10/24/2023
6.0.23 34,395 10/10/2023
6.0.22 32,452 9/12/2023
6.0.21 40,962 8/8/2023
6.0.20 49,172 7/11/2023
6.0.19 25,476 6/22/2023
6.0.18 35,787 6/13/2023
6.0.16 108,874 4/11/2023
6.0.15 64,112 3/14/2023
6.0.14 89,837 2/14/2023
6.0.13 102,567 1/10/2023
6.0.12 109,459 12/13/2022
6.0.11 258,228 11/7/2022
6.0.10 243,151 10/11/2022
6.0.9 192,511 9/13/2022
6.0.8 274,634 8/9/2022
6.0.7 296,905 7/12/2022
6.0.6 235,395 6/14/2022
6.0.5 317,345 5/10/2022
6.0.4 283,806 4/11/2022
6.0.3 312,787 3/8/2022
6.0.2 226,265 2/8/2022
6.0.1 466,913 12/14/2021
6.0.0 2,338,330 11/8/2021
6.0.0-rc.2.21480.10 15,630 10/12/2021
6.0.0-rc.1.21452.15 15,658 9/14/2021
6.0.0-preview.7.21378.6 23,242 8/10/2021
6.0.0-preview.6.21355.2 3,458 7/14/2021
6.0.0-preview.5.21301.17 3,752 6/15/2021
6.0.0-preview.4.21253.5 3,103 5/24/2021
6.0.0-preview.3.21201.13 3,862 4/8/2021
6.0.0-preview.2.21154.6 1,199 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 1,413 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 78,387 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 9,209 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 18,279 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 29,478 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 25,960 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 44,676 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 92,744 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 107,585 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 176,480 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 129,646 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 149,779 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 95,817 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 126,829 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 127,602 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 107,097 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 106,484 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 99,221 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 264,696 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 10,458 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 5,373 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 1,979 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 1,954 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 1,987 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
3.2.1 493,620 7/14/2020 3.2.1 is deprecated because it is no longer maintained.
3.2.0 211,908 5/16/2020 3.2.0 is deprecated because it is no longer maintained.
3.2.0-rc1.20223.4 11,327 4/29/2020 3.2.0-rc1.20223.4 is deprecated because it is no longer maintained.
3.2.0-preview5.20216.8 4,678 4/22/2020 3.2.0-preview5.20216.8 is deprecated because it is no longer maintained.
3.2.0-preview4.20210.8 3,955 4/16/2020 3.2.0-preview4.20210.8 is deprecated because it is no longer maintained.
3.2.0-preview3.20168.3 7,809 3/26/2020 3.2.0-preview3.20168.3 is deprecated because it is no longer maintained.
3.2.0-preview2.20160.5 5,616 3/10/2020 3.2.0-preview2.20160.5 is deprecated because it is no longer maintained.