Identity.Base.Admin
0.9.4
See the version list below for details.
dotnet add package Identity.Base.Admin --version 0.9.4
NuGet\Install-Package Identity.Base.Admin -Version 0.9.4
<PackageReference Include="Identity.Base.Admin" Version="0.9.4" />
<PackageVersion Include="Identity.Base.Admin" Version="0.9.4" />
<PackageReference Include="Identity.Base.Admin" />
paket add Identity.Base.Admin --version 0.9.4
#r "nuget: Identity.Base.Admin, 0.9.4"
#:package Identity.Base.Admin@0.9.4
#addin nuget:?package=Identity.Base.Admin&version=0.9.4
#tool nuget:?package=Identity.Base.Admin&version=0.9.4
Identity.Base.Admin
Refer to docs/packages/identity-base-admin/index.md for the canonical documentation covering endpoints, configuration, and extension points.
Administrative extensions for Identity Base. Includes:
- Authorization helpers enforcing admin scope + permission claims
- Minimal API endpoints for
/admin/users(listing and detail) - Integrations with
Identity.Base.Rolesfor assigning roles and auditing actions
Consumers opt in by referencing this package and invoking the provided service/endpoint extensions. No admin schema or endpoints are added unless explicitly enabled.
Usage
// Configure services & register the RBAC DbContext
var adminBuilder = services.AddIdentityAdmin(
configuration,
configureDbContext: (provider, options) =>
{
var connectionString = provider.GetRequiredService<IConfiguration>().GetConnectionString("Primary")
?? throw new InvalidOperationException("ConnectionStrings:Primary must be set.");
options.UseNpgsql(connectionString); // or UseSqlServer(connectionString)
});
adminBuilder.UseTablePrefix("Contoso"); // optional
// Alternatively, call adminBuilder.UseDbContext<MyAppDbContext>() if you already registered one.
// During startup seed RBAC data
await app.Services.SeedIdentityRolesAsync();
// Map the admin endpoints alongside the core Identity Base surfaces
app.MapApiEndpoints();
app.MapIdentityAdminEndpoints();
Additional admin capabilities (mutations, audits, role management) will arrive in subsequent iterations.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
- Identity.Base (>= 0.9.4)
- Identity.Base.Roles (>= 0.9.4)
- Microsoft.AspNetCore.Authorization (>= 9.0.10)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Identity.Base.Admin:
| Package | Downloads |
|---|---|
|
Identity.Base.ServicePrincipals
Opt-in managed service principals, credentials, RBAC assignments, token integration, and admin APIs for Identity Base. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.6 | 569 | 9/1/2026 |
| 0.9.5 | 320 | 8/26/2026 |
| 0.9.4 | 126 | 8/26/2026 |
| 0.9.3 | 1,133 | 7/27/2026 |
| 0.9.2 | 141 | 7/26/2026 |
| 0.8.10 | 162 | 6/6/2026 |
| 0.8.8 | 363 | 4/6/2026 |
| 0.8.6 | 973 | 3/4/2026 |
| 0.8.5 | 122 | 3/4/2026 |
| 0.8.4 | 485 | 2/9/2026 |
| 0.7.17 | 187 | 1/26/2026 |
| 0.7.16 | 260 | 1/20/2026 |
| 0.7.15 | 261 | 1/6/2026 |
| 0.7.12 | 147 | 12/30/2025 |
| 0.7.9 | 382 | 12/17/2025 |
| 0.7.7 | 418 | 12/3/2025 |
| 0.7.6 | 237 | 11/26/2025 |
| 0.7.5 | 351 | 11/14/2025 |
| 0.7.4 | 350 | 11/13/2025 |
| 0.7.3 | 336 | 11/10/2025 |