![]() |
VOOZH | about |
dotnet add package Raycynix.Extensions.Security.Abstractions --version 1.1.0
NuGet\Install-Package Raycynix.Extensions.Security.Abstractions -Version 1.1.0
<PackageReference Include="Raycynix.Extensions.Security.Abstractions" Version="1.1.0" />
<PackageVersion Include="Raycynix.Extensions.Security.Abstractions" Version="1.1.0" />Directory.Packages.props
<PackageReference Include="Raycynix.Extensions.Security.Abstractions" />Project file
paket add Raycynix.Extensions.Security.Abstractions --version 1.1.0
#r "nuget: Raycynix.Extensions.Security.Abstractions, 1.1.0"
#:package Raycynix.Extensions.Security.Abstractions@1.1.0
#addin nuget:?package=Raycynix.Extensions.Security.Abstractions&version=1.1.0Install as a Cake Addin
#tool nuget:?package=Raycynix.Extensions.Security.Abstractions&version=1.1.0Install as a Cake Tool
Raycynix.Extensions.Security.Abstractions contains the transport-neutral contracts used by the Raycynix security and secrets packages.
ISecurityContextISecretProviderISecretResolverSecuritySubjectTypeSecurityClaimTypesRequirePermissionAttribute and RequireRoleAttributeThis package allows other packages to depend on shared security, authorization, and secret-resolution contracts without depending on implementation packages.
The security model assumes:
User and ServiceRoles are aggregatesPermissions are the canonical access checksThe authorization model exposes declarative attributes that can be reused by multiple pipelines, including messaging and ASP.NET Core:
RequireAuthenticatedSubjectAttributeRequireSubjectTypeAttributeRequirePermissionAttributeRequireAnyPermissionAttributeRequireAllPermissionsAttributeRequireRoleAttributeRequireAnyRoleAttributeRequireAllRolesAttributeThe secret model assumes:
Permissions should use a stable resource.action format, for example users.read or orders.approve.
public sealed class UserProjection(ISecurityContext securityContext)
{
public string? CurrentSubjectId => securityContext.IsAuthenticated
? securityContext.SubjectId
: null;
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Raycynix.Extensions.Security.Abstractions:
| Package | Downloads |
|---|---|
|
Raycynix.Extensions.Messaging.Abstractions
Transport-agnostic messaging contracts, codecs, handlers, outbox abstractions, and direct communication primitives for Raycynix applications. |
|
|
Raycynix.Extensions.Security
Core security services, typed security configuration, shared identity context handling, and application-level authorization composition for Raycynix applications. |
|
|
Raycynix.Extensions.Messaging
Transport-agnostic messaging registration, dispatch, direct requests, observability, scoped envelope factories, and outbox/inbox reliability foundations for Raycynix applications. |
|
|
Raycynix.Extensions.Secrets
Unified secret resolution services for Raycynix applications with IConfiguration support, configurable provider precedence, and environment-aware fallback providers for local development and CI/CD. |
|
|
Raycynix.Extensions.Observability.AspNetCore
ASP.NET Core integration for Raycynix observability, including correlation middleware, endpoint mapping, and outgoing HTTP correlation propagation. |
This package is not used by any popular GitHub repositories.
See the package-local CHANGELOG.md for the full change history. Override PackageReleaseNotes in the package project file for major release-specific notes.