Cirreum.Runtime.Client.Oidc 1.0.4

Suggested Alternatives

Cirreum.Runtime.Wasm.Oidc

There is a newer version of this package available.
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
                    
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.Oidc" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cirreum.Runtime.Client.Oidc" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Cirreum.Runtime.Client.Oidc" />
                    
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.Oidc --version 1.0.4
                    
#r "nuget: Cirreum.Runtime.Client.Oidc, 1.0.4"
                    
#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.Oidc@1.0.4
                    
#: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.Oidc&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Cirreum.Runtime.Client.Oidc&version=1.0.4
                    
Install as a Cake Tool

Cirreum.Runtime.Client.Oidc

NuGet Version NuGet Downloads GitHub Release License .NET

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 functionality
  • Microsoft.AspNetCore.Components.WebAssembly.Authentication - Microsoft's Blazor WASM authentication
  • Microsoft.IdentityModel.JsonWebTokens - JWT token handling

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.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 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.24 156 1/21/2026 1.0.24 is deprecated because it is no longer maintained.
1.0.23 129 1/12/2026 1.0.23 is deprecated because it is no longer maintained.
1.0.22 126 1/11/2026 1.0.22 is deprecated because it is no longer maintained.
1.0.21 124 1/11/2026 1.0.21 is deprecated because it is no longer maintained.
1.0.20 121 1/11/2026 1.0.20 is deprecated because it is no longer maintained.
1.0.19 130 1/6/2026 1.0.19 is deprecated because it is no longer maintained.
1.0.18 124 1/5/2026 1.0.18 is deprecated because it is no longer maintained.
1.0.17 132 1/2/2026 1.0.17 is deprecated because it is no longer maintained.
1.0.16 134 1/1/2026 1.0.16 is deprecated because it is no longer maintained.
1.0.15 130 12/30/2025 1.0.15 is deprecated because it is no longer maintained.
1.0.14 130 12/29/2025 1.0.14 is deprecated because it is no longer maintained.
1.0.12 126 12/29/2025 1.0.12 is deprecated because it is no longer maintained.
1.0.11 123 12/27/2025 1.0.11 is deprecated because it is no longer maintained.
1.0.10 225 12/22/2025 1.0.10 is deprecated because it is no longer maintained.
1.0.9 173 12/20/2025 1.0.9 is deprecated because it is no longer maintained.
1.0.8 287 12/19/2025 1.0.8 is deprecated because it is no longer maintained.
1.0.7 302 12/17/2025 1.0.7 is deprecated because it is no longer maintained.
1.0.6 302 12/16/2025 1.0.6 is deprecated because it is no longer maintained.
1.0.5 210 12/5/2025 1.0.5 is deprecated because it is no longer maintained.
1.0.4 461 12/1/2025 1.0.4 is deprecated because it is no longer maintained.
Loading failed