NuvTools.Security
9.5.0
See the version list below for details.
dotnet add package NuvTools.Security --version 9.5.0
NuGet\Install-Package NuvTools.Security -Version 9.5.0
<PackageReference Include="NuvTools.Security" Version="9.5.0" />
<PackageVersion Include="NuvTools.Security" Version="9.5.0" />
<PackageReference Include="NuvTools.Security" />
paket add NuvTools.Security --version 9.5.0
#r "nuget: NuvTools.Security, 9.5.0"
#:package NuvTools.Security@9.5.0
#addin nuget:?package=NuvTools.Security&version=9.5.0
#tool nuget:?package=NuvTools.Security&version=9.5.0
Nuv Tools Security Libraries
This repository provides a set of libraries for implementing security features in .NET applications, including general-purpose security utilities, ASP.NET Core integrations, and Blazor authentication helpers.
Libraries Overview
NuvTools.Security
Common library for security purposes. Includes helpers for cryptography, hashing, and other security-related utilities.
NuvTools.Security.AspNetCore
Common library for security purposes in ASP.NET Core. Provides configuration models and helpers for managing authentication, authorization, and security settings.
NuvTools.Security.AspNetCore.Blazor
A helper library for managing authentication and security-related tasks in Blazor applications. Facilitates manual and OIDC-based authentication state management.
Getting Started
Install via NuGet:
- Search for the desired package on NuGet or use the following commands:
dotnet add package NuvTools.Security dotnet add package NuvTools.Security.AspNetCore dotnet add package NuvTools.Security.AspNetCore.Blazor
- Search for the desired package on NuGet or use the following commands:
Usage Example:
- Hashing a string:
using NuvTools.Security.Helpers; string hash = CryptographyHelper.ComputeSHA256Hash("your-value"); - ASP.NET Core Security Configuration:
// appsettings.json { "NuvTools.Security": { "Issuer": "your-issuer", "Audience": "your-audience", "SecretKey": "your-secret-key" } }using NuvTools.Security.AspNetCore.Configurations; var config = configuration.GetSection("NuvTools.Security").Get<SecurityConfigurationSection>();
- Hashing a string:
License
This project is licensed under the MIT License. See the LICENSE file for details.
Publishing
To publish packages to your NuGet source, use:
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- NuvTools.Validation (>= 9.5.0)
- System.IdentityModel.Tokens.Jwt (>= 8.14.0)
-
net9.0
- NuvTools.Validation (>= 9.5.0)
- System.IdentityModel.Tokens.Jwt (>= 8.14.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on NuvTools.Security:
| Package | Downloads |
|---|---|
|
NuvTools.Security.Identity
Permission-based authorization with dynamic policy provider and claim-based permission handler for ASP.NET Identity. |
|
|
NuvTools.Security.Identity.AspNetCore
ASP.NET Core user management service with email confirmation, password management, and role administration for ASP.NET Identity. |
|
|
NuvTools.Security.AspNetCore.Blazor
Authentication state providers for Blazor applications with JWT and OIDC support. |
|
|
NuvTools.Security.AspNetCore.Extensions
Common library for security purposes in ASP.NET Core. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.1.5 | 0 | 3/16/2026 |
| 10.1.1 | 128 | 3/7/2026 |
| 10.1.0 | 368 | 1/28/2026 |
| 10.0.2 | 99 | 1/27/2026 |
| 10.0.0 | 301 | 12/6/2025 |
| 9.5.0 | 242 | 10/26/2025 |
| 9.2.0 | 627 | 7/13/2025 |
| 9.1.2 | 999 | 6/20/2025 |
| 9.1.1 | 941 | 5/22/2025 |
| 9.1.0 | 344 | 4/1/2025 |
| 9.0.0 | 174 | 11/13/2024 |
| 8.1.0 | 183 | 9/10/2024 |
| 8.0.3 | 234 | 3/5/2024 |
| 7.1.0 | 323 | 9/10/2023 |
| 7.0.1 | 266 | 8/27/2023 |
| 7.0.0 | 426 | 2/26/2023 |