Authlink.Policy.Client.Core 1.3.0

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

📦 Package Overview

Authlink.Policy.Client.Core is a low-level, dependency-free library that defines interfaces, data contracts, and shared models used by client SDKs integrating with the Authlink Policy Decision Point (PDP).

It is intended to be consumed by higher-level packages such as:

  • Authlink.Policy.Client.Http
  • Authlink.Policy.Client.ServiceStack

🚀 Install

dotnet add package Authlink.Policy.Client.Core

Or via Package Manager:

PM> Install-Package Authlink.Policy.Client.Core

🔧 Purpose

This package serves as a foundation layer, enabling:

  • Abstraction of policy‐decision flows (Allow/Deny)
  • Typed obligation contracts (ObligationDto, ObligationType) returned with allow decisions
  • Decoupled, testable client implementations
  • Plug-and-play support across .NET environments (console, web, serverless)
  • Zero runtime dependencies beyond .NET Standard

⚖️ Obligations (since 1.3.0)

An allow decision may carry obligations the consumer (PEP) must honour before completing the operation. Each obligation is a kind plus a flat bag of string attributes:

Kind Attributes Meaning
RowFilter expression, version Restrict the result set to rows satisfying the expression
MaskProperties properties, version Mask every property matched by the selector list
RequireAudit (none) Record an audit entry for the operation
RequireReason (none) Capture a caller-supplied reason

Expression payloads follow the normative obligation expression grammar (versioned via the version attribute; currently "1"). PolicyDecisionResponse.ObligationsGrammarVersion carries the grammar version the PDP serves whenever a decision has obligations, so consumers can detect a contract they do not support up front.

Fail closed: a consumer that cannot fully enforce an obligation — unknown kind, unsupported grammar version, or an unparseable expression — must deny the request. Partial enforcement is not permitted. The normative grammar reference lives in the Authlink repository at docs/specifications/obligation-expression-grammar-v1.md.

📚 Documentation

Coming soon at: https://docs.authlink.co.za

📄 License

MIT

Product Compatible and additional computed target framework versions.
.NET 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 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 (1)

Showing the top 1 NuGet packages that depend on Authlink.Policy.Client.Core:

Package Downloads
Authlink.Policy.Client.Http

Implements the IPolicyClient abstraction over HTTP, allowing .NET applications to call Authlink�s Policy Decision Point (PDP) via a lightweight, HttpClientFactory-powered client. Includes PolicyHttpClient, option-based configuration (base URI, default client-ID, timeout), JSON (de)serialization of decision requests, and fail-closed error handling. Designed to plug into ASP.NET Core, ServiceStack, worker services, or any .NET runtime in combination with Authlink.Policy.Client.Core.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.0 103 8/11/2026
1.2.0 124 7/23/2026
1.1.0 137 7/14/2026
1.0.3 304 8/4/2025
1.0.2 256 8/4/2025
1.0.1 191 8/1/2025
1.0.0 215 8/1/2025