Cirreum.Runtime.Client.Msal 1.0.25

Suggested Alternatives

Cirreum.Runtime.Wasm.Msal

dotnet add package Cirreum.Runtime.Client.Msal --version 1.0.25
                    
NuGet\Install-Package Cirreum.Runtime.Client.Msal -Version 1.0.25
                    
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="Cirreum.Runtime.Client.Msal" Version="1.0.25" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cirreum.Runtime.Client.Msal" Version="1.0.25" />
                    
Directory.Packages.props
<PackageReference Include="Cirreum.Runtime.Client.Msal" />
                    
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 Cirreum.Runtime.Client.Msal --version 1.0.25
                    
#r "nuget: Cirreum.Runtime.Client.Msal, 1.0.25"
                    
#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.
#:package Cirreum.Runtime.Client.Msal@1.0.25
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Cirreum.Runtime.Client.Msal&version=1.0.25
                    
Install as a Cake Addin
#tool nuget:?package=Cirreum.Runtime.Client.Msal&version=1.0.25
                    
Install as a Cake Tool

Cirreum.Runtime.Client.Msal

NuGet Version NuGet Downloads GitHub Release License .NET

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

  1. Be conservative with new abstractions
    The API surface must remain stable and meaningful.

  2. Limit dependency expansion
    Only add foundational, version-stable dependencies.

  3. Favor additive, non-breaking changes
    Breaking changes ripple through the entire ecosystem.

  4. Include thorough unit tests
    All primitives and patterns should be independently testable.

  5. Document architectural decisions
    Context and reasoning should be clear for future maintainers.

  6. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.25 is deprecated because it is no longer maintained.
1.0.24 109 1/12/2026 1.0.24 is deprecated because it is no longer maintained.
1.0.23 112 1/11/2026 1.0.23 is deprecated because it is no longer maintained.
1.0.22 106 1/11/2026 1.0.22 is deprecated because it is no longer maintained.
1.0.21 113 1/11/2026 1.0.21 is deprecated because it is no longer maintained.
1.0.20 115 1/6/2026 1.0.20 is deprecated because it is no longer maintained.
1.0.19 117 1/5/2026 1.0.19 is deprecated because it is no longer maintained.
1.0.18 116 1/2/2026 1.0.18 is deprecated because it is no longer maintained.
1.0.17 115 1/1/2026 1.0.17 is deprecated because it is no longer maintained.
1.0.16 112 12/30/2025 1.0.16 is deprecated because it is no longer maintained.
1.0.15 112 12/29/2025 1.0.15 is deprecated because it is no longer maintained.
1.0.14 115 12/29/2025 1.0.14 is deprecated because it is no longer maintained.
1.0.12 119 12/27/2025 1.0.12 is deprecated because it is no longer maintained.
1.0.11 196 12/22/2025 1.0.11 is deprecated because it is no longer maintained.
1.0.10 162 12/20/2025 1.0.10 is deprecated because it is no longer maintained.
1.0.9 274 12/19/2025 1.0.9 is deprecated because it is no longer maintained.
1.0.8 288 12/17/2025 1.0.8 is deprecated because it is no longer maintained.
1.0.7 297 12/16/2025 1.0.7 is deprecated because it is no longer maintained.
1.0.6 213 12/5/2025 1.0.6 is deprecated because it is no longer maintained.
1.0.5 449 12/1/2025 1.0.5 is deprecated because it is no longer maintained.
Loading failed