Lumarin.Notify.Admin.Claims
0.8.0-preview.199
This is a prerelease version of Lumarin.Notify.Admin.Claims.
dotnet add package Lumarin.Notify.Admin.Claims --version 0.8.0-preview.199
NuGet\Install-Package Lumarin.Notify.Admin.Claims -Version 0.8.0-preview.199
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="Lumarin.Notify.Admin.Claims" Version="0.8.0-preview.199" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Lumarin.Notify.Admin.Claims" Version="0.8.0-preview.199" />
<PackageReference Include="Lumarin.Notify.Admin.Claims" />
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 Lumarin.Notify.Admin.Claims --version 0.8.0-preview.199
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lumarin.Notify.Admin.Claims, 0.8.0-preview.199"
#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.
#:package Lumarin.Notify.Admin.Claims@0.8.0-preview.199
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Lumarin.Notify.Admin.Claims&version=0.8.0-preview.199&prerelease
#tool nuget:?package=Lumarin.Notify.Admin.Claims&version=0.8.0-preview.199&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Lumarin.Notify.Admin.Claims
Lumarin.Notify.Admin.Claims is the optional claims-based authorization companion for Lumarin.Notify.Admin.
What it includes
- a typed
ClaimsBasedAdminAuthorizationPolicyimplementation ofIAdminAuthorizationPolicy - a strongly typed options model for super-admin, read-only, and per-module access rules
- a registration helper that replaces the base deny-all policy when claims-based admin auth is desired
What it does not include
- token validation or IdP-specific integration
- route-level
RequireAuthorization()configuration - tenant claim conventions
Basic activation
using Lumarin.Notify.Admin.Claims.Extensions;
using Lumarin.Notify.DependencyInjection;
builder.Services.AddLumarinNotify(options =>
{
options.EnableAdmin();
});
builder.Services.AddLumarinNotifyClaimsAdminAuthorization(options =>
{
options.SuperAdmin.Roles = ["lumarin.notify.admin"];
options.ReadOnly.Scopes = ["lumarin.notify.admin.read"];
options.Providers.Read.Permissions = ["providers.read"];
options.Providers.Manage.Permissions = ["providers.manage"];
});
Semantics:
SuperAdmingrants full access across every admin module.ReadOnlygrants view access across readable modules and never grants mutation access.- Per-module
ReadandManagerules refine access for that specific module.
Enable Admin first. Hosts that need a custom authorization implementation can still replace IAdminAuthorizationPolicy after this helper is registered. Direct AddLumarinNotifyAdmin() registration remains available for advanced composition.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Lumarin.Notify.Admin (>= 0.8.0-preview.199)
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 |
|---|---|---|
| 0.8.0-preview.199 | 47 | 5/14/2026 |
| 0.8.0-preview.162 | 54 | 4/26/2026 |
| 0.8.0-preview.161 | 61 | 4/26/2026 |
| 0.8.0-preview.160 | 61 | 4/26/2026 |
| 0.8.0-preview.159 | 53 | 4/26/2026 |
| 0.8.0-preview.158 | 55 | 4/26/2026 |
| 0.8.0-preview.157 | 55 | 4/25/2026 |
| 0.8.0-preview.156 | 49 | 4/25/2026 |
| 0.8.0-preview.155 | 48 | 4/25/2026 |
| 0.8.0-preview.154 | 52 | 4/25/2026 |
| 0.8.0-preview.153 | 50 | 4/25/2026 |
| 0.8.0-preview.150 | 52 | 4/25/2026 |
| 0.8.0-preview.133 | 51 | 4/23/2026 |
| 0.8.0-preview.132 | 53 | 4/23/2026 |
| 0.8.0-preview.130 | 53 | 4/23/2026 |
| 0.8.0-preview.128 | 54 | 4/23/2026 |
| 0.8.0-preview.120 | 64 | 4/21/2026 |
| 0.8.0-preview.115 | 51 | 4/18/2026 |
| 0.8.0-preview.114 | 58 | 4/18/2026 |
| 0.8.0-preview.113 | 58 | 4/17/2026 |
Loading failed