![]() |
VOOZH | about |
dotnet add package Identity.Base --version 0.6.2
NuGet\Install-Package Identity.Base -Version 0.6.2
<PackageReference Include="Identity.Base" Version="0.6.2" />
<PackageVersion Include="Identity.Base" Version="0.6.2" />Directory.Packages.props
<PackageReference Include="Identity.Base" />Project file
paket add Identity.Base --version 0.6.2
#r "nuget: Identity.Base, 0.6.2"
#:package Identity.Base@0.6.2
#addin nuget:?package=Identity.Base&version=0.6.2Install as a Cake Addin
#tool nuget:?package=Identity.Base&version=0.6.2Install as a Cake Tool
Identity.Base is a reusable Identity + OpenIddict service library for .NET 9.0. It bundles ASP.NET Core Identity, EF Core migrations, OpenIddict server configuration, MFA, external providers, and optional email integrations into ergonomic extension methods that can be hosted by any ASP.NET Core application.
var builder = WebApplication.CreateBuilder(args);
var identity = builder.Services.AddIdentityBase(builder.Configuration, builder.Environment);
identity
.AddConfiguredExternalProviders() // Google / Microsoft / Apple based on configuration
.AddExternalAuthProvider("github", auth =>
{
// register custom external providers here
return auth.AddOAuth("GitHub", options => { /* ... */ });
})
.UseMailJetEmailSender(); // optional add-on package
var app = builder.Build();
app.UseApiPipeline(); // Add request logging middleware if desired
app.MapControllers();
app.MapApiEndpoints();
app.Run();
By default the Identity Host (or any consumer calling AddIdentityBase) applies the packaged EF Core migrations during startup. You only need to generate custom migrations when you extend the provided DbContexts. Enable Mailjet delivery by referencing Identity.Base.Email.MailJet and calling UseMailJetEmailSender().
See the repository README for the full architecture, configuration schemas, and microservice/React integration guides.
Identity.Base is released under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. 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 5 NuGet packages that depend on Identity.Base:
| Package | Downloads |
|---|---|
|
Identity.Base.Roles
Role-based access control primitives for Identity Base: roles, permissions, default configuration, and effective permission resolution. |
|
|
Identity.Base.Organizations
Organization management layer for Identity Base, providing domain entities, EF Core integration, services, and HTTP APIs for organization membership and roles. |
|
|
Identity.Base.Admin
Administrative endpoints, authorization handlers, and helpers for managing Identity Base users, roles, and audit trails. |
|
|
Identity.Base.Email.MailJet
Optional Mailjet email sender integration for Identity Base hosts. |
|
|
Identity.Base.Email.SendGrid
Optional SendGrid email sender integration for Identity Base hosts. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.8.10 | 143 | 6/6/2026 |
| 0.8.8 | 358 | 4/6/2026 |
| 0.8.6 | 1,858 | 3/4/2026 |
| 0.8.5 | 140 | 3/4/2026 |
| 0.8.4 | 731 | 2/9/2026 |
| 0.7.17 | 189 | 1/26/2026 |
| 0.7.16 | 285 | 1/20/2026 |
| 0.7.15 | 354 | 1/6/2026 |
| 0.7.12 | 167 | 12/30/2025 |
| 0.7.9 | 434 | 12/17/2025 |
| 0.7.7 | 409 | 12/3/2025 |
| 0.7.6 | 251 | 11/26/2025 |
| 0.7.5 | 385 | 11/14/2025 |
| 0.7.4 | 349 | 11/13/2025 |
| 0.7.3 | 354 | 11/10/2025 |
| 0.7.2 | 265 | 11/9/2025 |
| 0.7.1 | 188 | 11/9/2025 |
| 0.6.3 | 191 | 11/8/2025 |
| 0.6.2 | 206 | 11/8/2025 |
| 0.6.1 | 242 | 11/6/2025 |