SolNeat.PolicyEngine 1.0.0

dotnet add package SolNeat.PolicyEngine --version 1.0.0
                    
NuGet\Install-Package SolNeat.PolicyEngine -Version 1.0.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="SolNeat.PolicyEngine" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SolNeat.PolicyEngine" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="SolNeat.PolicyEngine" />
                    
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 SolNeat.PolicyEngine --version 1.0.0
                    
#r "nuget: SolNeat.PolicyEngine, 1.0.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.
#:package SolNeat.PolicyEngine@1.0.0
                    
#: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=SolNeat.PolicyEngine&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=SolNeat.PolicyEngine&version=1.0.0
                    
Install as a Cake Tool

SolNeat.PolicyEngine

License: MIT .NET

A lightweight, high-performance, headless authorization engine for .NET, built on Domain-Driven Design (DDD) and Onion Architecture principles.

It implements a unified Actor — Role — Permission — Resource:Action domain model and follows the enterprise PAP / PDP / PEP (Policy Administration, Decision, and Enforcement Points) specification.

Key Capabilities

  • RFC 9068 & OIDC Ready: Effortlessly serializes evaluated PDP permissions into JWT access tokens via custom claims (x-access-permission) for downstream Resource Server enforcement.
  • OpenIddict & EF Core Integration: Out-of-the-box PEP pipeline integrations for OpenIddict token issuance and EF Core persistence.
  • Unified Principal Model: Uniformly handles authorization policies for human users, background services, and programmatic agents (M2M).

Packages & Ecosystem

The suite consists of three modular building blocks:

Package Description NuGet
SolNeat.PolicyEngine Core authorization engine (DDD/Onion, PAP/PDP logic). NuGet
SolNeat.PolicyEngine.EF EF Core persistence store & entity configurations. NuGet
SolNeat.PolicyEngine.OpenIddict OpenIddict PEP integration (RFC 9068 JWT claims & x-access-permission injection). NuGet

Quick Start

See the SolNeat.AuthDemo for a full runnable example.

License

This project is licensed under the MIT License — see the LICENSE file for details.

💬 Feedback & Suggestions

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

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SolNeat.PolicyEngine:

Package Downloads
SolNeat.PolicyEngine.EF

Entity Framework Core persistence store and relational database mappings for SolNeat PolicyEngine authorization ecosystem.

SolNeat.PolicyEngine.OpenIddict

OpenIddict integration extensions for SolNeat PolicyEngine authorization ecosystem. Serves as a Policy Enforcement Point (PEP) bridge during OAuth 2.0 / OIDC token issuance, evaluating PDP policies and serializing fine-grained principal permissions into RFC 9068-compliant JWT access tokens via the custom 'x-access-permission' claim (Resource:Action specification).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 139 9/23/2026