AuthPermissions.AspNetCore 2.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AuthPermissions.AspNetCore --version 2.1.0
                    
NuGet\Install-Package AuthPermissions.AspNetCore -Version 2.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AuthPermissions.AspNetCore" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AuthPermissions.AspNetCore" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="AuthPermissions.AspNetCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AuthPermissions.AspNetCore --version 2.1.0
                    
#r "nuget: AuthPermissions.AspNetCore, 2.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=AuthPermissions.AspNetCore&version=2.1.0
                    
Install AuthPermissions.AspNetCore as a Cake Addin
#tool nuget:?package=AuthPermissions.AspNetCore&version=2.1.0
                    
Install AuthPermissions.AspNetCore as a Cake Tool

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).
  • Implements a JWT refresh token feature to improve the security of using JWT Token in your application.
  • Provides features to create a multi-tenant database system, either using one-level tenant or multi-level tenant (hierarchical).

WARNING If updating to Version 2 of this library, then you MUST read the Migrate from AuthPermissions.AspNetCore 1.* to 2.0

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.

Product 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 was computed.  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.  net9.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 872 11/30/2024
8.0.0 5,433 5/27/2024
6.2.2 6,721 2/9/2024
6.2.1 241 1/30/2024
6.2.0 1,361 1/10/2024
6.1.0 1,252 11/28/2023
6.0.0 8,585 8/15/2023
5.0.1 2,067 7/4/2023
5.0.0 4,063 5/31/2023
4.2.0-preview001 149 3/15/2023
4.1.0 4,507 1/3/2023
4.0.0 887 11/21/2022
3.5.0 4,289 10/18/2022
3.4.0 651 9/20/2022
3.3.0 4,596 6/17/2022
3.2.1 772 6/2/2022
3.2.0 926 4/26/2022
3.1.0 1,221 4/11/2022
3.0.0 600 4/4/2022
2.3.1 1,192 3/5/2022
2.3.0 646 2/26/2022
2.2.0 686 1/10/2022
2.1.0 349 1/3/2022
2.0.0 402 12/16/2021
1.4.0 657 10/11/2021
1.3.0 440 10/7/2021
1.2.1 437 9/21/2021
1.2.0 432 9/17/2021
1.1.0 520 8/25/2021
1.0.0-preview001 326 8/10/2021

- BREAKING CHANGE: GetAllRoleNamesAsync is now called GetRoleNamesForUsersAsync and takes the UserId
- Bug fix: Fixed a bug when creating a tenant that had tenant roles
- New Feature: Added GetRoleNamesForTenantsAsync to AuthTenantAdminService
- Minor change: The UpdateRoleToPermissionsAsync method now allows you to change the RoleType