![]() |
VOOZH | about |
dotnet add package Franz.Common.Identity --version 2.2.7
NuGet\Install-Package Franz.Common.Identity -Version 2.2.7
<PackageReference Include="Franz.Common.Identity" Version="2.2.7" />
<PackageVersion Include="Franz.Common.Identity" Version="2.2.7" />Directory.Packages.props
<PackageReference Include="Franz.Common.Identity" />Project file
paket add Franz.Common.Identity --version 2.2.7
#r "nuget: Franz.Common.Identity, 2.2.7"
#:package Franz.Common.Identity@2.2.7
#addin nuget:?package=Franz.Common.Identity&version=2.2.7Install as a Cake Addin
#tool nuget:?package=Franz.Common.Identity&version=2.2.7Install as a Cake Tool
A foundational library within the Franz Framework that provides contracts and utilities for managing identity context across applications. This package defines the core abstractions for accessing user identity information in a consistent, provider-agnostic way.
--Current Version: v2.2.7
Identity Context Management
FranzIdentityContext: unified model (UserId, Email, FullName, Roles, TenantId, DomainId).IIdentityContextAccessor: contract for resolving identity across frameworks.Testing Support
FakeIdentityContextAccessor: simple stub for unit/integration tests.Framework-Agnostic
HttpContext.dotnet add package Franz.Common.Identity
using Franz.Common.Identity;
public class MyService
{
private readonly IIdentityContextAccessor _identityContext;
public MyService(IIdentityContextAccessor identityContext)
{
_identityContext = identityContext;
}
public FranzIdentityContext GetIdentity()
=> _identityContext.GetCurrentIdentity();
}
The Franz.Common.Identity package integrates seamlessly with:
This package is part of a private framework. Contributions are limited to the internal development team.
Licensed under the MIT License. See the LICENSE file for details.
Introduced FranzIdentityContext (UserId, Email, FullName, Roles, TenantId, DomainId).
Added IIdentityContextAccessor interface for framework-agnostic identity access.
Added FakeIdentityContextAccessor for testing.
Moved ASP.NET Core specifics into a new package: Franz.Common.Http.Identity, including:
IdentityContextAccessor (HttpContext-based implementation).
AddFranzHttpIdentity() DI extension.
Provider extensions:
AddFranzWsFedIdentity() (WS-Federation).AddFranzOidcIdentity() (OpenID Connect).AddFranzSaml2Identity() (SAML2 via Sustainsys).AddFranzKeycloakIdentity() (Keycloak OIDC with role normalization).All providers normalize into FranzIdentityContext.
Config-driven setup via appsettings.json (no hardcoded values).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 3 NuGet packages that depend on Franz.Common.Identity:
| Package | Downloads |
|---|---|
|
Franz.Common.Messaging.Identity
Shared utility library for the Franz Framework. |
|
|
Franz.Common.Http.Identity
Shared utility library for the Franz Framework. |
|
|
Franz.Common.Http.Client
Shared utility library for the Franz Framework. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.7 | 166 | 6/7/2026 |
| 2.2.6 | 166 | 6/6/2026 |
| 2.2.5 | 168 | 6/4/2026 |
| 2.2.4 | 165 | 6/3/2026 |
| 2.2.3 | 164 | 6/2/2026 |
| 2.2.2 | 169 | 6/2/2026 |
| 2.2.1 | 170 | 5/24/2026 |
| 2.1.4 | 166 | 4/27/2026 |
| 2.1.3 | 154 | 4/26/2026 |
| 2.1.2 | 154 | 4/26/2026 |
| 2.1.1 | 162 | 4/22/2026 |
| 2.0.2 | 165 | 3/30/2026 |
| 2.0.1 | 163 | 3/29/2026 |
| 1.7.8 | 163 | 3/2/2026 |
| 1.7.7 | 185 | 1/31/2026 |
| 1.7.6 | 166 | 1/22/2026 |
| 1.7.5 | 169 | 1/10/2026 |
| 1.7.4 | 174 | 12/27/2025 |
| 1.7.3 | 258 | 12/22/2025 |
| 1.7.2 | 257 | 12/21/2025 |