NuvTools.Security.AspNetCore
9.5.0
See the version list below for details.
dotnet add package NuvTools.Security.AspNetCore --version 9.5.0
NuGet\Install-Package NuvTools.Security.AspNetCore -Version 9.5.0
<PackageReference Include="NuvTools.Security.AspNetCore" Version="9.5.0" />
<PackageVersion Include="NuvTools.Security.AspNetCore" Version="9.5.0" />
<PackageReference Include="NuvTools.Security.AspNetCore" />
paket add NuvTools.Security.AspNetCore --version 9.5.0
#r "nuget: NuvTools.Security.AspNetCore, 9.5.0"
#:package NuvTools.Security.AspNetCore@9.5.0
#addin nuget:?package=NuvTools.Security.AspNetCore&version=9.5.0
#tool nuget:?package=NuvTools.Security.AspNetCore&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
-
net9.0
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.