Fotbiler.RuleGate.Core 1.0.0

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

RuleGate Core

Local, provider-independent authorization engine for RuleGate.

Core contains the built-in policy engine, role and permission evaluators, logical requirements, typed attribute evaluators, requirement dispatch, in-memory policy storage and sources, immutable atomic policy snapshots, and opt-in authorization diagnostics. It emits exporter-neutral OpenTelemetry activities and low-cardinality metrics through the standard .NET diagnostics APIs. Logical requirement traversal is bounded and remains fail-closed when a tree exceeds the supported evaluation depth.

RuleGate 1.0 is stable. Public API compatibility follows Semantic Versioning.

Installation

dotnet add package Fotbiler.RuleGate.Core --version 1.0.0

Compatibility

This package targets .NET Standard 2.0, .NET 8, .NET 9, and .NET 10. Legacy runtime compatibility is verified through packed ASP.NET Core consumer applications.

When to use this package

Use Core when you need:

  • In-process authorization without a remote policy service
  • A framework-independent authorization engine
  • Built-in role, permission, logical, scalar, collection, presence, and null attribute requirements
  • Attribute-to-attribute comparisons for ownership and organization scope
  • Recurring time-window, bounded date-time, authentication-age, and canonical context policies
  • Custom policy-provider or evaluator composition
  • Framework-independent policy-source loading and manual atomic reload
  • Lock-free lookups against the last valid immutable policy snapshot
  • Value-safe authorization, policy-load, and reload telemetry
  • Direct control over authorization requests and decisions

ASP.NET Core applications should normally install Fotbiler.RuleGate.AspNetCore, which references Core and adds framework integration.

Evaluation behavior

RuleGate grants access only when:

  1. A matching policy exists.
  2. The complete requirement tree evaluates successfully.
  3. No requirement is denied, unsupported, malformed, or indeterminate.

RuleGate follows default-deny behavior: missing policies and incomplete authorization inputs cannot grant access.

RuleGate packages

Package Purpose
Fotbiler.RuleGate.Abstractions Public authorization contracts and extension abstractions
Fotbiler.RuleGate.Core Local fail-closed authorization engine and built-in evaluators
Fotbiler.RuleGate.Manifest YAML manifest loading, validation, and compilation
Fotbiler.RuleGate.AspNetCore ASP.NET Core integration and attribute enrichment
Fotbiler.RuleGate.Cli Manifest validation, policy testing, generation, and CI usage
Fotbiler.RuleGate.Keycloak Optional Keycloak claim normalization and subject mapping

Documentation

Security

RuleGate uses ordinal, case-sensitive matching by default and requires an explicit opt-in for ordinal case-insensitive string operations. Invalid types, unsupported operators, and collection-limit violations fail closed. Custom evaluators and policy providers must preserve these security boundaries.

Report suspected vulnerabilities through the private security reporting process.

License

RuleGate is licensed under the MIT License.

Runtime requirement depth

Runtime requirement evaluation is limited to a depth of 64. A requirement at depth 65 is not evaluated and produces an Indeterminate result with AuthorizationFailureCodes.RequirementDepthExceeded. Policy authorization maps that result to a denial. The limit is isolated per evaluation traversal and applies equally to built-in and custom requirement evaluators.

Product 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 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 is compatible.  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 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Fotbiler.RuleGate.Core:

Package Downloads
Fotbiler.RuleGate.AspNetCore

ASP.NET Core dependency injection, local configuration and YAML policy sources, atomic reload hosting, ClaimsPrincipal mapping, enrichment, dynamic policies, resource authorization, safe diagnostics, and OpenTelemetry correlation for RuleGate.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 61 8/1/2026
1.0.0-rc.1 126 8/1/2026
0.9.0-preview.4 97 7/31/2026
0.9.0-preview.3 33 7/31/2026
0.9.0-preview.2 44 7/31/2026
0.9.0-preview.1 41 7/31/2026
0.8.0-preview.2 39 7/31/2026
0.7.0-preview.2 169 7/29/2026
0.7.0-preview.1 42 7/29/2026
0.6.0-preview.2 41 7/29/2026
0.6.0-preview.1 39 7/29/2026
0.5.0-preview.2 52 7/29/2026
0.3.0-preview.2 51 7/28/2026
0.3.0-preview.1 40 7/28/2026
0.2.0-preview.2 46 7/27/2026
0.2.0-preview.1 47 7/26/2026
0.1.0-preview.1 48 7/26/2026

Publishes the stable RuleGate 1.0 API and coordinated NuGet package family after release-candidate API freeze, security hardening, reproducibility, and package-only compatibility verification.