VOOZH about

URL: https://www.nuget.org/packages/Raycynix.Extensions.Security/

⇱ NuGet Gallery | Raycynix.Extensions.Security 1.0.2




👁 Image
Raycynix.Extensions.Security 1.0.2

dotnet add package Raycynix.Extensions.Security --version 1.0.2
 
 
NuGet\Install-Package Raycynix.Extensions.Security -Version 1.0.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="Raycynix.Extensions.Security" Version="1.0.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Raycynix.Extensions.Security" Version="1.0.2" />
 
Directory.Packages.props
<PackageReference Include="Raycynix.Extensions.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 Raycynix.Extensions.Security --version 1.0.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Raycynix.Extensions.Security, 1.0.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 Raycynix.Extensions.Security@1.0.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=Raycynix.Extensions.Security&version=1.0.2
 
Install as a Cake Addin
#tool nuget:?package=Raycynix.Extensions.Security&version=1.0.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Raycynix.Extensions.Security

Raycynix.Extensions.Security contains the core, host-agnostic security implementation for Raycynix applications.

What it contains

  • SecurityContext
  • AddRaycynixSecurity(...)
  • SecurityConfiguration
  • JwtConfiguration
  • DI registration for ISecurityContext

What it does not contain

  • ASP.NET Core authentication handlers
  • HTTP request mapping
  • JWT validation middleware
  • authorization policies
  • secret storage and resolution

Usage

builder.Services.AddRaycynixSecurity(builder.Configuration, options =>
{
 options.Jwt.Authority = "https://auth.raycynix.com";
 options.Jwt.Issuer = "raycynix-auth";
 options.Jwt.Audience = "raycynix-services";
});
{
 "SecurityConfiguration": {
 "Jwt": {
 "Authority": "https://auth.raycynix.com",
 "Issuer": "raycynix-auth",
 "Audience": "raycynix-services",
 "AccessTokenLifetime": "00:15:00",
 "RefreshTokenLifetime": "14.00:00:00",
 "ClockSkew": "00:01:00",
 "RequireHttpsMetadata": true
 }
 }
}

The package binds settings from the SecurityConfiguration section and allows optional overrides in code.

For ASP.NET Core request binding and web-specific integration, use Raycynix.Extensions.Security.AspNetCore.

For secret resolution, use Raycynix.Extensions.Secrets.

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

Package Downloads
Raycynix.Extensions.Security.AspNetCore

ASP.NET Core JWT authentication, dynamic authorization policies, shared authorization-attribute integration, and request security context wiring for Raycynix applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 119 4/22/2026
1.0.1 110 4/20/2026
1.0.0 109 4/8/2026
0.2.3 111 4/8/2026

Added a host-agnostic Security example focused on SecurityConfiguration binding and core service registration.