AuthPermissions.AspNetCore
9.0.0
dotnet add package AuthPermissions.AspNetCore --version 9.0.0
NuGet\Install-Package AuthPermissions.AspNetCore -Version 9.0.0
<PackageReference Include="AuthPermissions.AspNetCore" Version="9.0.0" />
paket add AuthPermissions.AspNetCore --version 9.0.0
#r "nuget: AuthPermissions.AspNetCore, 9.0.0"
// Install AuthPermissions.AspNetCore as a Cake Addin #addin nuget:?package=AuthPermissions.AspNetCore&version=9.0.0 // Install AuthPermissions.AspNetCore as a Cake Tool #tool nuget:?package=AuthPermissions.AspNetCore&version=9.0.0
AuthPermissions.AspNetCore
The AuthPermissions.AspNetCore library (shortened to AuthP) provides extra authorization features to a ASP.NET Core application. Here are AuthP's three main features:
- An improved Role authorization system where the features a Role can access can be changed by an admin user (i.e. no need to edit and redeploy your application when a Role changes).
- Provides features to create a multi-tenant database system, either using one-level tenant or multi-level tenant (hierarchical).
- Implements a JWT refresh token feature to improve the security of using JWT Token in your application.
The AuthP is an open-source library under the MIT licence (and remain as a open-source library for ever) and the NuGet package can be found here. The documentation can be found in the GitHub wiki and the AuthP roadmap defines the different versions of this library.
List of versions and which .NET framework they support
- Version 9.?.? supports NET 9 only (simpler to update to next NET release)
- Version 8.?.? supports NET 8 only (simpler to update to next NET release)
- Version 6.?.? supports NET 6, 7 and 8
- Version 5.?.? supports NET 6 and 7
If you have already built your application using an older version, then you need to look at the following "how up update" documents
- For AuthPermissions.AspNetCore versions below 9 see UpdateToVersion9.md
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.0
- DistributedLock (>= 2.5.0)
- EntityFrameworkCore.Exceptions.PostgreSQL (>= 8.1.3)
- EntityFrameworkCore.Exceptions.Sqlite (>= 8.1.3)
- EntityFrameworkCore.Exceptions.SqlServer (>= 8.1.3)
- GenericServices.StatusGeneric (>= 1.2.0)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 9.0.0)
- Microsoft.AspNetCore.Authorization (>= 9.0.0)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 9.0.0)
- Microsoft.Data.Sqlite.Core (>= 9.0.0)
- Microsoft.EntityFrameworkCore (>= 9.0.0)
- Microsoft.EntityFrameworkCore.Design (>= 9.0.0)
- Microsoft.EntityFrameworkCore.InMemory (>= 9.0.0)
- Microsoft.EntityFrameworkCore.Sqlite (>= 9.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 9.0.0)
- Microsoft.EntityFrameworkCore.Tools (>= 9.0.0)
- Microsoft.Extensions.Hosting (>= 9.0.0)
- Microsoft.Extensions.Localization.Abstractions (>= 9.0.0)
- Microsoft.Graph (>= 4.54.0)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.2.1)
- Net.DistributedFileStoreCache (>= 2.0.0)
- Net.LocalizeMessagesAndErrors (>= 9.0.0)
- Net.RunMethodsSequentially (>= 2.0.1)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 9.0.1)
- System.IdentityModel.Tokens.Jwt (>= 8.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on AuthPermissions.AspNetCore:
Repository | Stars |
---|---|
CervantesSec/cervantes
Cervantes is an open-source, collaborative platform designed specifically for pentesters and red teams. It serves as a comprehensive management tool, streamlining the organization of projects, clients, vulnerabilities, and reports in a single, centralized location.
|
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 161 | 11/30/2024 |
8.0.0 | 4,465 | 5/27/2024 |
6.2.2 | 5,792 | 2/9/2024 |
6.2.1 | 208 | 1/30/2024 |
6.2.0 | 1,318 | 1/10/2024 |
6.1.0 | 1,242 | 11/28/2023 |
6.0.0 | 8,576 | 8/15/2023 |
5.0.1 | 2,060 | 7/4/2023 |
5.0.0 | 4,054 | 5/31/2023 |
4.2.0-preview001 | 140 | 3/15/2023 |
4.1.0 | 4,433 | 1/3/2023 |
4.0.0 | 872 | 11/21/2022 |
3.5.0 | 4,258 | 10/18/2022 |
3.4.0 | 634 | 9/20/2022 |
3.3.0 | 4,561 | 6/17/2022 |
3.2.1 | 755 | 6/2/2022 |
3.2.0 | 906 | 4/26/2022 |
3.1.0 | 1,203 | 4/11/2022 |
3.0.0 | 583 | 4/4/2022 |
2.3.1 | 1,175 | 3/5/2022 |
2.3.0 | 628 | 2/26/2022 |
2.2.0 | 665 | 1/10/2022 |
2.1.0 | 329 | 1/3/2022 |
2.0.0 | 384 | 12/16/2021 |
1.4.0 | 637 | 10/11/2021 |
1.3.0 | 420 | 10/7/2021 |
1.2.1 | 417 | 9/21/2021 |
1.2.0 | 412 | 9/17/2021 |
1.1.0 | 499 | 8/25/2021 |
1.0.0-preview001 | 307 | 8/10/2021 |
- Updated to .NET 9 version
- BREAKING CHANGE: EF Core 9 added extra migration checks - see UpdateToVersion9.md to update your multi-tenant DbContext.