Skip to main content
ZeroAlloc.Authorization package icon

ZeroAlloc.Authorization

Authorization primitives for .NET โ€” ISecurityContext, IAuthorizationPolicy, [Policy] / [RequirePolicy] attributes with a source generator that emits DI registrations and per-request AuthorizerFor<T> dispatchers. Shared by AI.Sentinel and ZeroAlloc.Mediator.Authorization.

Total Downloads
16.6K
16,619
Published
May 22, 2026
Latest stable version

Install

.NET CLI
dotnet add package ZeroAlloc.Authorization --version 2.0.2
Package Manager Console
Install-Package ZeroAlloc.Authorization -Version 2.0.2
PackageReference
<PackageReference Include="ZeroAlloc.Authorization" Version="2.0.2" />

Frameworks

net10.0 net8.0 net9.0

Dependencies

[0.1.4, )
[0.1.4, )
[0.1.4, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.