Cirreum.Runtime.Identity 1.0.4

dotnet add package Cirreum.Runtime.Identity --version 1.0.4
                    
NuGet\Install-Package Cirreum.Runtime.Identity -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.Identity" 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.Identity" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Cirreum.Runtime.Identity" />
                    
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.Identity --version 1.0.4
                    
#r "nuget: Cirreum.Runtime.Identity, 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.Identity@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.Identity&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Cirreum.Runtime.Identity&version=1.0.4
                    
Install as a Cake Tool

Cirreum Runtime Identity

NuGet Version NuGet Downloads GitHub Release License .NET

Umbrella Runtime Extensions package for the Cirreum Identity provider family. Install this one package to wire up every supported identity provider (OIDC webhook + Entra External ID) behind a single AddIdentity() / MapIdentity() pair.

Overview

Install Cirreum.Runtime.Identity when your application uses more than one identity-provider protocol — for example an API serving both Descope (OIDC webhook) clients and an Entra External ID tenant. Installing a single per-protocol package is preferable if you only need one of them (pay-for-what-you-use):

Your app has... Install
One OIDC-based IdP (Descope / Auth0 / …) Cirreum.Runtime.Identity.Oidc
Entra External ID only Cirreum.Runtime.Identity.EntraExternalId
Both (N+1 clients using different IdPs) Cirreum.Runtime.Identity (this package)

Installation

dotnet add package Cirreum.Runtime.Identity

Usage

using Microsoft.Extensions.Hosting;
using Microsoft.AspNetCore.Builder;

var builder = WebApplication.CreateBuilder(args);

builder.AddIdentity(p => p
    .AddProvisioner<ClientABorrowerProvisioner>("clientA_descope")    // Oidc instance
    .AddProvisioner<ClientBBorrowerProvisioner>("clientB_descope")    // Oidc instance
    .AddProvisioner<EmployeeProvisioner>("primary"));                 // EntraExternalId instance

var app = builder.Build();

app.UseAuthentication();
app.UseAuthorization();

app.MapIdentity();

app.Run();

AddIdentity() registers both the Oidc and EntraExternalId providers from their respective Cirreum:Identity:Providers:* configuration sections. MapIdentity() maps every enabled instance's route across both providers.

App-provided provisioner classes derive from the base that matches each instance's onboarding model (InvitationUserProvisionerBase<TUser> or SelfServiceUserProvisionerBase<TUser>). See Cirreum.IdentityProvider for the provisioner hierarchy and the sibling packages for each protocol's wire contract and configuration:

What this package contains

Just two extension methods composing the per-protocol packages:

  • builder.AddIdentity(configure?) — calls AddOidcIdentity() and AddEntraExternalIdIdentity() (each dedups its own provider registration via marker type), then invokes the configure callback once against a single IdentityBuilder so AddProvisioner<T>(key) calls run once per key.
  • app.MapIdentity() — invokes every registered IdentityProviderMapping (unfiltered). Per-protocol packages still expose their own filtered MapOidcIdentity() / MapEntraExternalIdIdentity() if you want granular control.

Dependencies

  • Cirreum.Runtime.Identity.Oidc (brings in Cirreum.Identity.Oidc + Cirreum.Runtime.IdentityProvider transitively)
  • Cirreum.Runtime.Identity.EntraExternalId (brings in Cirreum.Identity.EntraExternalId transitively)

License

MIT — see LICENSE.


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.4 116 5/11/2026
1.0.3 107 5/10/2026
1.0.2 112 5/1/2026
1.0.1 118 4/28/2026
1.0.0 113 4/24/2026