Excalibur.A3.Policy.Opa
10.0.0-alpha.11
This is a prerelease version of Excalibur.A3.Policy.Opa.
dotnet add package Excalibur.A3.Policy.Opa --version 10.0.0-alpha.11
NuGet\Install-Package Excalibur.A3.Policy.Opa -Version 10.0.0-alpha.11
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="Excalibur.A3.Policy.Opa" Version="10.0.0-alpha.11" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Excalibur.A3.Policy.Opa" Version="10.0.0-alpha.11" />
<PackageReference Include="Excalibur.A3.Policy.Opa" />
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 Excalibur.A3.Policy.Opa --version 10.0.0-alpha.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Excalibur.A3.Policy.Opa, 10.0.0-alpha.11"
#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 Excalibur.A3.Policy.Opa@10.0.0-alpha.11
#: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=Excalibur.A3.Policy.Opa&version=10.0.0-alpha.11&prerelease
#tool nuget:?package=Excalibur.A3.Policy.Opa&version=10.0.0-alpha.11&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Excalibur.A3.Policy.Opa
Open Policy Agent (OPA) HTTP adapter for the Excalibur A3 authorization framework.
Overview
This package implements IAuthorizationEvaluator by delegating policy decisions to an external OPA server via HTTP/REST. Authorization requests are mapped to OPA input format and evaluated against your Rego policies.
Quick Start
services.AddExcaliburA3(a3 =>
{
a3.UseOpaPolicy(opa =>
{
opa.Endpoint = "http://localhost:8181";
opa.PolicyPath = "v1/data/authz/allow";
opa.TimeoutMs = 5000;
opa.FailClosed = true; // deny on OPA errors
});
});
Features
- Fail-closed by default: HTTP errors, timeouts, and malformed responses result in denial
- Configurable fail-open: Set
FailClosed = falsefor permissive error handling - IHttpClientFactory integration: Managed HTTP client lifetime with proper pooling
- STJ source-gen ready: Zero-reflection JSON serialization for AOT compatibility
- Minimal dependencies: Only
Microsoft.Extensions.HttpandSystem.Text.Json
| 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
- Excalibur.A3.Abstractions (>= 10.0.0-alpha.11)
- Medo.Uuid7 (>= 3.2.0)
- Microsoft.Extensions.Configuration (>= 10.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.10)
- Microsoft.Extensions.Logging (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.10)
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 |
|---|---|---|
| 10.0.0-alpha.11 | 0 | 9/15/2026 |
| 10.0.0-alpha.10 | 61 | 9/6/2026 |
| 10.0.0-alpha.9 | 51 | 8/31/2026 |
| 10.0.0-alpha.8 | 78 | 8/14/2026 |
| 10.0.0-alpha.7 | 65 | 8/13/2026 |
| 10.0.0-alpha.6 | 69 | 8/11/2026 |
| 10.0.0-alpha.5 | 62 | 8/10/2026 |
| 10.0.0-alpha.4 | 54 | 8/10/2026 |
| 3.0.0-alpha.216 | 80 | 6/30/2026 |
| 3.0.0-alpha.215 | 71 | 6/23/2026 |
| 3.0.0-alpha.214 | 74 | 6/23/2026 |
| 3.0.0-alpha.208 | 70 | 6/11/2026 |
| 3.0.0-alpha.207 | 73 | 6/11/2026 |
| 3.0.0-alpha.205 | 71 | 6/10/2026 |
| 3.0.0-alpha.204 | 68 | 6/8/2026 |
| 3.0.0-alpha.203 | 69 | 6/8/2026 |
| 3.0.0-alpha.202 | 63 | 6/8/2026 |
| 3.0.0-alpha.201 | 75 | 6/8/2026 |
| 3.0.0-alpha.199 | 71 | 6/8/2026 |
| 3.0.0-alpha.198 | 74 | 5/28/2026 |
Loading failed
Release notes and versioning policy: https://docs.excalibur-dispatch.dev/docs/migration/version-upgrades