AuthPermissions.AspNetCore
5.0.0
See the version list below for details.
dotnet add package AuthPermissions.AspNetCore --version 5.0.0
NuGet\Install-Package AuthPermissions.AspNetCore -Version 5.0.0
<PackageReference Include="AuthPermissions.AspNetCore" Version="5.0.0" />
paket add AuthPermissions.AspNetCore --version 5.0.0
#r "nuget: AuthPermissions.AspNetCore, 5.0.0"
// Install AuthPermissions.AspNetCore as a Cake Addin #addin nuget:?package=AuthPermissions.AspNetCore&version=5.0.0 // Install AuthPermissions.AspNetCore as a Cake Tool #tool nuget:?package=AuthPermissions.AspNetCore&version=5.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 see ReleaseNotes for details of changes. There is also a roadmap discussion containing the plans for this library.
The AuthP library is being built in versions (see roadmap). If you have already built your application using an older version, then you need to look at the following "how up update" documents
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- DistributedLock (>= 2.3.2)
- EfCore.TestSupport (>= 5.3.0)
- EntityFrameworkCore.Exceptions.PostgreSQL (>= 6.0.3)
- EntityFrameworkCore.Exceptions.Sqlite (>= 6.0.3)
- EntityFrameworkCore.Exceptions.SqlServer (>= 6.0.3.1)
- GenericServices.StatusGeneric (>= 1.2.0)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 6.0.11)
- Microsoft.AspNetCore.Authorization (>= 6.0.11)
- Microsoft.AspNetCore.Hosting (>= 2.2.7)
- Microsoft.AspNetCore.Http (>= 2.2.2)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 6.0.11)
- Microsoft.Data.Sqlite.Core (>= 6.0.11)
- Microsoft.EntityFrameworkCore (>= 6.0.11)
- Microsoft.EntityFrameworkCore.InMemory (>= 6.0.11)
- Microsoft.EntityFrameworkCore.Sqlite (>= 6.0.11)
- Microsoft.EntityFrameworkCore.SqlServer (>= 6.0.11)
- Microsoft.EntityFrameworkCore.Tools (>= 6.0.11)
- Microsoft.Extensions.Hosting (>= 6.0.1)
- Microsoft.Extensions.Localization.Abstractions (>= 6.0.11)
- Microsoft.Graph (>= 4.37.0)
- Net.DistributedFileStoreCache (>= 2.0.0)
- Net.LocalizeMessagesAndErrors (>= 1.0.0)
- Net.RunMethodsSequentially (>= 2.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 6.0.7)
-
net7.0
- DistributedLock (>= 2.3.2)
- EfCore.TestSupport (>= 5.3.0)
- EntityFrameworkCore.Exceptions.PostgreSQL (>= 6.0.3)
- EntityFrameworkCore.Exceptions.Sqlite (>= 6.0.3)
- EntityFrameworkCore.Exceptions.SqlServer (>= 6.0.3.1)
- GenericServices.StatusGeneric (>= 1.2.0)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 7.0.0)
- Microsoft.AspNetCore.Authorization (>= 7.0.0)
- Microsoft.AspNetCore.Hosting (>= 2.2.7)
- Microsoft.AspNetCore.Http (>= 2.2.2)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 7.0.0)
- Microsoft.Data.Sqlite.Core (>= 7.0.0)
- Microsoft.EntityFrameworkCore (>= 7.0.0)
- Microsoft.EntityFrameworkCore.InMemory (>= 7.0.0)
- Microsoft.EntityFrameworkCore.Sqlite (>= 7.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 7.0.0)
- Microsoft.EntityFrameworkCore.Tools (>= 7.0.0)
- Microsoft.Extensions.Hosting (>= 7.0.0)
- Microsoft.Extensions.Localization.Abstractions (>= 7.0.0)
- Microsoft.Graph (>= 4.37.0)
- Net.DistributedFileStoreCache (>= 2.0.0)
- Net.LocalizeMessagesAndErrors (>= 1.0.0)
- Net.RunMethodsSequentially (>= 2.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 3,658 | 5/27/2024 |
6.2.2 | 5,127 | 2/9/2024 |
6.2.1 | 200 | 1/30/2024 |
6.2.0 | 1,260 | 1/10/2024 |
6.1.0 | 1,215 | 11/28/2023 |
6.0.0 | 8,568 | 8/15/2023 |
5.0.1 | 2,052 | 7/4/2023 |
5.0.0 | 4,049 | 5/31/2023 |
4.2.0-preview001 | 137 | 3/15/2023 |
4.1.0 | 4,424 | 1/3/2023 |
4.0.0 | 867 | 11/21/2022 |
3.5.0 | 4,242 | 10/18/2022 |
3.4.0 | 627 | 9/20/2022 |
3.3.0 | 4,546 | 6/17/2022 |
3.2.1 | 750 | 6/2/2022 |
3.2.0 | 898 | 4/26/2022 |
3.1.0 | 1,196 | 4/11/2022 |
3.0.0 | 576 | 4/4/2022 |
2.3.1 | 1,166 | 3/5/2022 |
2.3.0 | 621 | 2/26/2022 |
2.2.0 | 658 | 1/10/2022 |
2.1.0 | 322 | 1/3/2022 |
2.0.0 | 377 | 12/16/2021 |
1.4.0 | 626 | 10/11/2021 |
1.3.0 | 411 | 10/7/2021 |
1.2.1 | 410 | 9/21/2021 |
1.2.0 | 406 | 9/17/2021 |
1.1.0 | 488 | 8/25/2021 |
1.0.0-preview001 | 304 | 8/10/2021 |
- BREAKING CHANGE(medium): If you are using sharding with your multi-tenant app, then read the UpdateToVersion5.md file.
- New feature: You can now use a custom database provider with the AuthP library - see documentation for more details.
- New feature: It easier to setup sharding / hybrid multi-tenant application via extension method called SetupMultiTenantSharding
- New feature: Ability to replace parts of the sharding services, e.g. store sharding data in a database instead of a json file.