CRFricke.Authorization.Core
1.0.1
See the version list below for details.
dotnet add package CRFricke.Authorization.Core --version 1.0.1
NuGet\Install-Package CRFricke.Authorization.Core -Version 1.0.1
<PackageReference Include="CRFricke.Authorization.Core" Version="1.0.1" />
<PackageVersion Include="CRFricke.Authorization.Core" Version="1.0.1" />
<PackageReference Include="CRFricke.Authorization.Core" />
paket add CRFricke.Authorization.Core --version 1.0.1
#r "nuget: CRFricke.Authorization.Core, 1.0.1"
#:package CRFricke.Authorization.Core@1.0.1
#addin nuget:?package=CRFricke.Authorization.Core&version=1.0.1
#tool nuget:?package=CRFricke.Authorization.Core&version=1.0.1
Authorization.Core
The Authorization.Core package provides an efficient implementation of a rights-based authorization framework that sits on top of Microsoft's ASP.NET Core Identity Framework. The package can be used on its own or with the Authorization.Core.UI package to provide a rich GUI for managing your application's Users and Roles.
The Authorization.Core Package
The Core package uses Claims
to represent the access rights defined by the application.
These Claims are assigned to Roles using the ASP.NET Core Identity Framework's IdentityRoleClaim
class.
Roles are assigned to Users via the Identity Framework's IdentityUserClaim
class.
The package exposes the AuthUser
and AuthRole
classes which extend the Identity Framework's IdentityUser
and IdentityRole
classes.
The Core package also exposes the AuthDbContext
and a generic AuthDbContext<TUser, TRole>
class.
These classes extend the Identity Framework's IdentityDbContext<TUser, TRole, string>
class.
They provide a virtual SeedDatabase
method which is used to ensure that the Administrator Role and User
account exist in the database during application startup.
The method can be overriden in a derived class to provide similar functionality for your application.
If you will be installing the CRFricke.Authorization.Core.UI package, you don't need to install this one. Install that package instead. Otherwise, you can use the following steps to install and configure the Core package.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- CRFricke.EF.Core.Utilities (>= 1.0.1)
- Microsoft.AspNetCore.Authorization (>= 3.1.22)
- Microsoft.AspNetCore.Http (>= 2.2.2)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 3.1.22)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CRFricke.Authorization.Core:
Package | Downloads |
---|---|
CRFricke.Authorization.Core.UI
Extends ASP.NET Core Identity to include a UI for management of Users and Roles. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated | |
---|---|---|---|
8.0.6 | 182 | 3/19/2025 | |
8.0.5 | 160 | 3/19/2025 | |
8.0.4 | 249 | 3/18/2025 | |
8.0.1 | 188 | 5/29/2024 | |
8.0.0 | 166 | 3/6/2024 | |
7.0.3 | 246 | 9/1/2023 | |
7.0.1 | 279 | 5/21/2023 | |
7.0.0 | 284 | 3/22/2023 | |
6.0.6 | 377 | 2/16/2023 | |
6.0.5 | 426 | 12/12/2022 | |
6.0.4 | 561 | 10/15/2022 | |
6.0.3 | 573 | 10/8/2022 | |
6.0.2 | 570 | 9/3/2022 | |
6.0.1 | 575 | 9/2/2022 | |
6.0.0 | 596 | 8/1/2022 | |
3.1.1 | 524 | 2/8/2022 | |
3.1.0 | 719 | 2/8/2022 | |
1.0.1 | 722 | 1/27/2022 | |
1.0.0 | 734 | 1/27/2022 |