Cirreum.Runtime.Client.Msal
1.0.25
dotnet add package Cirreum.Runtime.Client.Msal --version 1.0.25
NuGet\Install-Package Cirreum.Runtime.Client.Msal -Version 1.0.25
<PackageReference Include="Cirreum.Runtime.Client.Msal" Version="1.0.25" />
<PackageVersion Include="Cirreum.Runtime.Client.Msal" Version="1.0.25" />
<PackageReference Include="Cirreum.Runtime.Client.Msal" />
paket add Cirreum.Runtime.Client.Msal --version 1.0.25
#r "nuget: Cirreum.Runtime.Client.Msal, 1.0.25"
#:package Cirreum.Runtime.Client.Msal@1.0.25
#addin nuget:?package=Cirreum.Runtime.Client.Msal&version=1.0.25
#tool nuget:?package=Cirreum.Runtime.Client.Msal&version=1.0.25
Cirreum.Runtime.Client.Msal
Seamless Azure Entra authentication for Blazor WebAssembly applications
Overview
Cirreum.Runtime.Client.Msal provides a fluent API for integrating Microsoft Authentication Library (MSAL) with Blazor WebAssembly applications in the Cirreum Framework. It simplifies Azure Entra ID (formerly Azure AD) authentication setup for both workforce and external identity scenarios.
Features
- Workforce & External Identity Support - Configure authentication for both internal users and external customers
- Microsoft Graph Integration - Built-in support for user profile enrichment and presence tracking
- Fluent Configuration API - Chainable methods for intuitive authentication setup
- Session Monitoring - Track user activity and API calls
- Claims Extension - Customize user claims with your own transformations
- Authorization Policies - Pre-configured standard policies with extensibility
Installation
dotnet add package Cirreum.Runtime.Client.Msal
Usage
Basic Workforce Authentication
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.AddCirreumClient()
.AddEntraAuth(
tenantId: "your-tenant-id", // or "common" for multi-tenant
clientId: "your-client-id"
);
await builder.Build().RunAsync();
External Identity Authentication
builder.AddCirreumClient()
.AddEntraExternalAuth(
domain: "your-domain",
clientId: "your-client-id"
);
With Microsoft Graph Services
builder.AddCirreumClient()
.AddEntraAuth("your-tenant-id", "your-client-id")
.AddGraphServices()
.AddMinimalUserProfile() // or AddCommonUserProfile() or AddExtendedUserProfile()
.AddPresenceTracking();
Custom Authorization Policies
builder.AddCirreumClient()
.AddEntraAuth("your-tenant-id", "your-client-id", authorization: options =>
{
options.AddPolicy("CustomPolicy", policy =>
policy.RequireClaim("department", "Engineering"));
});
Session Monitoring
builder.AddCirreumClient()
.AddEntraAuth("your-tenant-id", "your-client-id")
.AddSessionMonitoring(options =>
{
options.TrackApiCalls = true;
options.IdleTimeout = TimeSpan.FromMinutes(30);
});
Contribution Guidelines
Be conservative with new abstractions
The API surface must remain stable and meaningful.Limit dependency expansion
Only add foundational, version-stable dependencies.Favor additive, non-breaking changes
Breaking changes ripple through the entire ecosystem.Include thorough unit tests
All primitives and patterns should be independently testable.Document architectural decisions
Context and reasoning should be clear for future maintainers.Follow .NET conventions
Use established patterns from Microsoft.Extensions.* libraries.
Versioning
Cirreum.Runtime.Client.Msal follows Semantic Versioning:
- Major - Breaking API changes
- Minor - New features, backward compatible
- Patch - Bug fixes, backward compatible
Given its foundational role, major version bumps are rare and carefully considered.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Cirreum Foundation Framework
Layered simplicity for modern .NET
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Cirreum.Graph.Provider (>= 1.0.26)
- Cirreum.Runtime.Client (>= 1.0.27)
- Microsoft.Authentication.WebAssembly.Msal (>= 10.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.0.25 | 132 | 1/21/2026 | |
| 1.0.24 | 109 | 1/12/2026 | |
| 1.0.23 | 112 | 1/11/2026 | |
| 1.0.22 | 106 | 1/11/2026 | |
| 1.0.21 | 113 | 1/11/2026 | |
| 1.0.20 | 115 | 1/6/2026 | |
| 1.0.19 | 117 | 1/5/2026 | |
| 1.0.18 | 116 | 1/2/2026 | |
| 1.0.17 | 115 | 1/1/2026 | |
| 1.0.16 | 112 | 12/30/2025 | |
| 1.0.15 | 112 | 12/29/2025 | |
| 1.0.14 | 115 | 12/29/2025 | |
| 1.0.12 | 119 | 12/27/2025 | |
| 1.0.11 | 196 | 12/22/2025 | |
| 1.0.10 | 162 | 12/20/2025 | |
| 1.0.9 | 274 | 12/19/2025 | |
| 1.0.8 | 288 | 12/17/2025 | |
| 1.0.7 | 297 | 12/16/2025 | |
| 1.0.6 | 213 | 12/5/2025 | |
| 1.0.5 | 449 | 12/1/2025 |