Sparkdo.Authorization 2.0.0-preview.2

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

Sparkdo.Authorization

提供宿主无关的授权决策运行时,并通过 package-default 自动把 AuthorizationMiddleware 接入 Sparkdo Invocation。

只有明确 Permit 才会执行目标。未知策略、缺少 Handler、配置冲突和运行时故障均 fail-closed。

只有传入授权调用的 CancellationToken 已请求取消时,OperationCanceledException 才按调用方取消原样传播。Policy source、CanHandle 或 Handler 因其他 token 自行取消时,分别闭锁为 PolicyResolutionFailedHandlerFailed

Product 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.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Sparkdo.Authorization:

Package Downloads
Sparkdo.Ddd.Application

Sparkdo DDD应用层库,提供DDD应用服务的基础实现

Sparkdo.AspNetCore

Sparkdo ASP.NET Core 集成库,提供与 ASP.NET Core 框架深度集成的功能实现

Sparkdo.UI.Navigation

library for the Sparkdo framework

Sparkdo.PermissionManagement.Domain

Sparkdo 权限管理领域库,提供权限管理功能的核心领域模型、仓储接口和业务逻辑实现

Sparkdo.Permissions

Sparkdo 权限定义、授权策略桥接与默认 package manifest。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-preview.2 47 7/20/2026
2.0.0-preview.1 45 7/18/2026
1.0.4-preview.3 127 6/8/2026
1.0.4-preview.2 110 6/7/2026
1.0.4-preview.1 110 6/7/2026
1.0.3 238 6/6/2026
1.0.3-preview.1 121 5/17/2026
1.0.2 211 4/27/2026
1.0.2-preview.5 91 4/15/2026
1.0.2-preview.4 107 2/8/2026
1.0.2-preview.3 98 2/1/2026
1.0.2-preview.2 105 1/31/2026
1.0.2-preview.1 207 12/4/2025
1.0.1 547 11/27/2025
1.0.0 536 11/25/2025
1.0.0-preview.5 153 10/24/2025