Cirreum.Runtime.Client.Oidc
1.0.4
See the version list below for details.
dotnet add package Cirreum.Runtime.Client.Oidc --version 1.0.4
NuGet\Install-Package Cirreum.Runtime.Client.Oidc -Version 1.0.4
<PackageReference Include="Cirreum.Runtime.Client.Oidc" Version="1.0.4" />
<PackageVersion Include="Cirreum.Runtime.Client.Oidc" Version="1.0.4" />
<PackageReference Include="Cirreum.Runtime.Client.Oidc" />
paket add Cirreum.Runtime.Client.Oidc --version 1.0.4
#r "nuget: Cirreum.Runtime.Client.Oidc, 1.0.4"
#:package Cirreum.Runtime.Client.Oidc@1.0.4
#addin nuget:?package=Cirreum.Runtime.Client.Oidc&version=1.0.4
#tool nuget:?package=Cirreum.Runtime.Client.Oidc&version=1.0.4
Cirreum.Runtime.Client.Oidc
OIDC authentication for Blazor WebAssembly applications in the Cirreum ecosystem
Overview
Cirreum.Runtime.Client.Oidc provides OpenID Connect (OIDC) authentication support for Blazor WebAssembly applications built on the Cirreum framework. It extends Microsoft's WebAssembly authentication with enhanced claims handling, session monitoring, and application user management.
Features
- OIDC Authentication - Full OpenID Connect support for Blazor WebAssembly applications
- Enhanced Claims Processing - Custom claims principal factory with JWT token parsing and role mapping
- Session Monitoring - Built-in support for user activity tracking and session timeout management
- Application User Integration - Seamless integration with custom application user types and loaders
- Authorization Policies - Pre-configured standard authorization policies (Standard, Internal, Agent, Manager, Admin)
- Fluent Configuration API - Intuitive builder pattern for authentication setup
Installation
dotnet add package Cirreum.Runtime.Client.Oidc
Usage
Basic Setup
builder.AddOidcAuth(options =>
{
options.Authority = "https://your-identity-provider.com";
options.ClientId = "your-client-id";
options.ResponseType = "code";
options.DefaultScopes.Add("openid");
options.DefaultScopes.Add("profile");
});
With Custom Claims Extender
builder.AddOidcAuth<MyCustomClaimsExtender>(options =>
{
options.Authority = "https://your-identity-provider.com";
options.ClientId = "your-client-id";
});
Adding Session Monitoring
builder.AddOidcAuth(options => { /* ... */ })
.AddSessionMonitoring(sessionOptions =>
{
sessionOptions.IdleTimeout = TimeSpan.FromMinutes(30);
sessionOptions.SessionTimeout = TimeSpan.FromHours(8);
});
Adding Application User Support
builder.AddOidcAuth(options => { /* ... */ })
.AddApplicationUser<MyApplicationUser, MyApplicationUserLoader>();
Architecture
The library is built on top of:
Cirreum.Runtime.Client- Core client runtime functionalityMicrosoft.AspNetCore.Components.WebAssembly.Authentication- Microsoft's Blazor WASM authenticationMicrosoft.IdentityModel.JsonWebTokens- JWT token handling
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.Oidc 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.Runtime.Client (>= 1.0.5)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.15.0)
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.24 | 156 | 1/21/2026 | |
| 1.0.23 | 129 | 1/12/2026 | |
| 1.0.22 | 126 | 1/11/2026 | |
| 1.0.21 | 124 | 1/11/2026 | |
| 1.0.20 | 121 | 1/11/2026 | |
| 1.0.19 | 130 | 1/6/2026 | |
| 1.0.18 | 124 | 1/5/2026 | |
| 1.0.17 | 132 | 1/2/2026 | |
| 1.0.16 | 134 | 1/1/2026 | |
| 1.0.15 | 130 | 12/30/2025 | |
| 1.0.14 | 130 | 12/29/2025 | |
| 1.0.12 | 126 | 12/29/2025 | |
| 1.0.11 | 123 | 12/27/2025 | |
| 1.0.10 | 225 | 12/22/2025 | |
| 1.0.9 | 173 | 12/20/2025 | |
| 1.0.8 | 287 | 12/19/2025 | |
| 1.0.7 | 302 | 12/17/2025 | |
| 1.0.6 | 302 | 12/16/2025 | |
| 1.0.5 | 210 | 12/5/2025 | |
| 1.0.4 | 461 | 12/1/2025 |