Sparkdo.Security 2.0.0-preview.1

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

Sparkdo.Security

Sparkdo.Security 为无特定宿主的应用提供默认安全上下文运行时。

package manifest 使用 singleton TryAdd 注册:

  • ISecurityContextAccessorAnonymousSecurityContextAccessor

因此未接入认证宿主时,当前上下文稳定返回 SecurityContext.Anonymous;应用或宿主适配包可以显式替换该访问器。

本包不提供认证协议、授权策略、权限存储、会话或审计实现。

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.Security:

Package Downloads
Sparkdo.Features

Sparkdo 功能系统库,提供功能定义、管理、检查和拦截功能

Sparkdo.Authorization

Sparkdo 授权决策运行时与 Invocation 执行点。

Sparkdo.AspNetCore.Authentication.JwtBearer

Sparkdo ASP.NET Core JWT Bearer 认证库,提供基于 JWT 的身份验证和授权功能实现

Sparkdo.AspNetCore.Authentication.OAuth

Sparkdo ASP.NET Core OAuth 认证库,提供 OAuth 认证功能的集成和配置

Sparkdo.Security.AspNetCore

Sparkdo Security 的 ASP.NET Core 主体投影适配。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-preview.2 29 7/20/2026
2.0.0-preview.1 44 7/18/2026
1.0.4-preview.3 470 6/8/2026
1.0.4-preview.2 452 6/7/2026
1.0.4-preview.1 429 6/7/2026
1.0.3 1,039 6/6/2026
1.0.3-preview.1 454 5/17/2026
1.0.2 816 4/27/2026
1.0.2-preview.5 179 4/15/2026
1.0.2-preview.4 178 2/8/2026
1.0.2-preview.3 182 2/1/2026
1.0.2-preview.2 196 1/31/2026
1.0.2-preview.1 227 12/4/2025
1.0.1 2,829 11/27/2025
1.0.0 2,746 11/25/2025
1.0.0-preview.5 152 10/24/2025