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" />
                    
Directory.Packages.props
<PackageReference Include="Lumarin.Notify.Admin.Claims" />
                    
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 Lumarin.Notify.Admin.Claims --version 0.8.0-preview.199
                    
#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
                    
Install as a Cake Addin
#tool nuget:?package=Lumarin.Notify.Admin.Claims&version=0.8.0-preview.199&prerelease
                    
Install as a Cake Tool

Lumarin.Notify.Admin.Claims

Lumarin.Notify.Admin.Claims is the optional claims-based authorization companion for Lumarin.Notify.Admin.

What it includes

  • a typed ClaimsBasedAdminAuthorizationPolicy implementation of IAdminAuthorizationPolicy
  • 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:

  • SuperAdmin grants full access across every admin module.
  • ReadOnly grants view access across readable modules and never grants mutation access.
  • Per-module Read and Manage rules 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 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.

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