![]() |
VOOZH | about |
dotnet add package Identity.Module.API --version 2.5.458
NuGet\Install-Package Identity.Module.API -Version 2.5.458
<PackageReference Include="Identity.Module.API" Version="2.5.458" />
<PackageVersion Include="Identity.Module.API" Version="2.5.458" />Directory.Packages.props
<PackageReference Include="Identity.Module.API" />Project file
paket add Identity.Module.API --version 2.5.458
#r "nuget: Identity.Module.API, 2.5.458"
#:package Identity.Module.API@2.5.458
#addin nuget:?package=Identity.Module.API&version=2.5.458Install as a Cake Addin
#tool nuget:?package=Identity.Module.API&version=2.5.458Install as a Cake Tool
A set of libraries to easily integrate and extend authentication in ASP.NET Core projects, using ASP.NET Core Identity.
MinimalApi.Identity is a dynamic and modular identity manager for managing users, roles, claims and more for access control in Asp.Net Mvc Core and Web API, using .NET Minimal API, Entity Framework Core and relational database (of your choice).
appsettings.json to suit your application's needs.As an alternative to SQL Server you can use one of these databases:
The library is available on NuGet, just search for Identity.Module.API in the Package Manager GUI or run the following command in the .NET CLI:
dotnet add package Identity.Module.API
The configuration can be completely managed by adding this section to the appsettings.json file:
A complete example of the configurations in AppSettings.json is available here.
The library uses Entity Framework Core to manage the database.
The connection string is configured in the AppSettings section of the appsettings.json file, while the database type is configured in the Program.cs class.
After configuring the Program.cs class, modify the connection string for the corresponding database.
To update the database schema you need to create migrations, they will be applied automatically at the next application startup.
To create database migrations select MinimalApi.Identity.Core as the default project from the drop-down menu in the Package Manager Console
and run the command: Add-Migration MIGRATION-NAME
Example: Add-Migration InitialMigration -Project MinimalApi.Identity.Migrations.SQLServer
if you use a separate project for migrations (It is recommended to add a reference in the project name to the database used, in this case it is SQL Server),
make sure to set the -Project parameter to the name of that project.
It is possible to protect access to the Swagger UI with the following configuration in SwaggerSettings:
AuthSettings:IsRequired (supported values: true, false)AuthSettings:UsernameAuthSettings:PasswordYou can manage the state of the Swagger UI with the following configuration:
SwaggerSettings:IsEnabled (supported values: true, false)A complete example of the Program.cs class is available here.
The following authentication types are currently supported:
A default administrator account is created automatically with the following configuration:
AppSettings:AssignAdminEmailAppSettings:AssignAdminUsernameAppSettings:AssignAdminPasswordπ Quality Gate Status
π Bugs
π Code Smells
π Duplicated Lines (%)
π Lines of Code
π Reliability Rating
π Security Rating
π Technical Debt
π Maintainability Rating
π Vulnerabilities
In this solution no further development activities are currently planned.
In the .NET 10 solution (in a dedicated, temporarily private repository):
This project is licensed under the MIT License - see the file for details.
Don't forget that if you find this project helpful, please give it a β on GitHub to show your support and help others discover it.
The project is constantly evolving. Contributions are always welcome. Feel free to report issues and submit pull requests to the repository, following the steps below:
If you have any questions or need help, read here to find out what to do.
| 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. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.5.458 | 87 | 6/16/2026 |
| 2.5.457 | 95 | 6/11/2026 |
| 2.5.456 | 101 | 6/7/2026 |
| 2.5.454 | 143 | 5/31/2026 |
| 2.5.453 | 118 | 5/28/2026 |
| 2.5.452 | 107 | 5/24/2026 |
| 2.5.450 | 109 | 5/10/2026 |
| 2.5.449 | 117 | 5/8/2026 |
| 2.5.448 | 127 | 4/26/2026 |
| 2.5.447 | 115 | 4/23/2026 |
| 2.5.445 | 112 | 4/15/2026 |
| 2.5.444 | 106 | 4/14/2026 |
| 2.5.443 | 110 | 4/11/2026 |
| 2.5.442 | 115 | 4/9/2026 |
| 2.5.441 | 119 | 4/6/2026 |
| 2.5.440 | 109 | 4/5/2026 |
| 2.5.439 | 129 | 4/2/2026 |
| 2.5.438 | 143 | 3/29/2026 |
| 2.5.437 | 131 | 3/27/2026 |
| 2.5.436 | 137 | 3/26/2026 |