Fotbiler.RuleGate.Abstractions
1.0.0
dotnet add package Fotbiler.RuleGate.Abstractions --version 1.0.0
NuGet\Install-Package Fotbiler.RuleGate.Abstractions -Version 1.0.0
<PackageReference Include="Fotbiler.RuleGate.Abstractions" Version="1.0.0" />
<PackageVersion Include="Fotbiler.RuleGate.Abstractions" Version="1.0.0" />
<PackageReference Include="Fotbiler.RuleGate.Abstractions" />
paket add Fotbiler.RuleGate.Abstractions --version 1.0.0
#r "nuget: Fotbiler.RuleGate.Abstractions, 1.0.0"
#:package Fotbiler.RuleGate.Abstractions@1.0.0
#addin nuget:?package=Fotbiler.RuleGate.Abstractions&version=1.0.0
#tool nuget:?package=Fotbiler.RuleGate.Abstractions&version=1.0.0
RuleGate Abstractions
Public authorization contracts for the RuleGate ecosystem.
This package contains policy definitions, authorization requests and decisions, typed attribute values, requirement evaluation abstractions, and diagnostics contracts. Policy-source, reload-result, and snapshot metadata contracts and public telemetry source names are also defined here. It does not contain the RuleGate authorization engine. The frozen 1.0 surface also exposes stable authorization failure codes used by package consumers and diagnostics.
RuleGate 1.0 is stable. Public API compatibility follows Semantic Versioning.
Installation
dotnet add package Fotbiler.RuleGate.Abstractions --version 1.0.0
Compatibility
This package targets .NET Standard 2.0, .NET 8, .NET 9, and .NET 10. .NET Standard 2.0 allows the contracts to be consumed by the verified legacy integration targets without duplicating framework-specific assemblies.
When to use this package
Reference Abstractions directly when you are:
- Building a reusable RuleGate integration
- Implementing a custom requirement evaluator
- Sharing authorization contracts across assemblies
- Depending on RuleGate contracts without the built-in engine
- Defining typed scalar, collection, presence, and null attribute requirements
- Defining subject, resource, context, and literal operand comparisons
- Defining explicit-time-zone, date-time, authentication-age, and canonical context requirements
- Creating diagnostic or policy-provider extensions
- Implementing an application-defined
IPolicySource - Coordinating reload through
IPolicyReloadService - Registering RuleGate activity and meter names with an observability pipeline
Most applications should install Fotbiler.RuleGate.AspNetCore or Fotbiler.RuleGate.Core instead of referencing Abstractions directly.
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
- Getting started
- Authorization model
- Security model
- RuleGate CLI
- Policy testing
- Policy sources and atomic reload
- Telemetry, performance, and concurrency
- Documentation index
Security
RuleGate uses default-deny and fail-closed authorization semantics. Applications remain responsible for deriving identity, resource, and context information from trusted server-side sources.
Report suspected vulnerabilities through the private security reporting process.
License
RuleGate is licensed under the MIT License.
| 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 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. |
-
.NETStandard 2.0
- System.Threading.Tasks.Extensions (>= 4.6.3)
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Fotbiler.RuleGate.Abstractions:
| Package | Downloads |
|---|---|
|
Fotbiler.RuleGate.Core
Fail-closed policy authorization engine with built-in evaluators, immutable atomic snapshots, last-valid reload behavior, safe diagnostics, and exporter-neutral OpenTelemetry signals for RuleGate. |
|
|
Fotbiler.RuleGate.Manifest
YAML manifest loading, validation, compilation, file and embedded-resource policy sources, and mapping for typed attribute, time, and trusted-context requirements in RuleGate. |
|
|
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 | 258 | 8/1/2026 |
| 1.0.0-rc.1 | 209 | 8/1/2026 |
| 0.9.0-preview.4 | 120 | 7/31/2026 |
| 0.9.0-preview.3 | 57 | 7/31/2026 |
| 0.9.0-preview.2 | 66 | 7/31/2026 |
| 0.9.0-preview.1 | 62 | 7/31/2026 |
| 0.8.0-preview.2 | 62 | 7/31/2026 |
| 0.7.0-preview.2 | 226 | 7/29/2026 |
| 0.7.0-preview.1 | 64 | 7/29/2026 |
| 0.6.0-preview.2 | 66 | 7/29/2026 |
| 0.6.0-preview.1 | 58 | 7/29/2026 |
| 0.5.0-preview.2 | 61 | 7/29/2026 |
| 0.3.0-preview.2 | 71 | 7/28/2026 |
| 0.3.0-preview.1 | 62 | 7/28/2026 |
| 0.2.0-preview.2 | 59 | 7/27/2026 |
| 0.2.0-preview.1 | 63 | 7/26/2026 |
| 0.1.0-preview.1 | 57 | 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.