![]() |
VOOZH | about |
dotnet add package CodeDesignPlus.Net.Security --version 0.11.0
NuGet\Install-Package CodeDesignPlus.Net.Security -Version 0.11.0
<PackageReference Include="CodeDesignPlus.Net.Security" Version="0.11.0" />
<PackageVersion Include="CodeDesignPlus.Net.Security" Version="0.11.0" />Directory.Packages.props
<PackageReference Include="CodeDesignPlus.Net.Security" />Project file
paket add CodeDesignPlus.Net.Security --version 0.11.0
#r "nuget: CodeDesignPlus.Net.Security, 0.11.0"
#:package CodeDesignPlus.Net.Security@0.11.0
#addin nuget:?package=CodeDesignPlus.Net.Security&version=0.11.0Install as a Cake Addin
#tool nuget:?package=CodeDesignPlus.Net.Security&version=0.11.0Install as a Cake Tool
👁 Quality Gate Status
👁 Bugs
👁 Code Smells
👁 Coverage
👁 Duplicated Lines (%)
👁 Vulnerabilities
The CodeDesignPlus.Net.Security library is a component of the CodeDesignPlus.Net SDK, designed to provide robust security features for .NET applications. This library encompasses various aspects of security, including authentication, authorization, and user context management, ensuring that applications can securely manage user identities and permissions.
The CodeDesignPlus.Net.Security library is a component of the CodeDesignPlus.Net SDK, designed to provide robust security features for .NET applications. This library encompasses various aspects of security, including authentication, authorization, and user context management, ensuring that applications can securely manage user identities and permissions.
User Context Management: The library provides an interface (IUserContext) and a concrete implementation (UserContext) for managing user information such as ID, name, email, and claims. This allows applications to easily access authenticated user details during a request.
Authentication and Authorization: The library includes extension methods for setting up security services in an IServiceCollection and configuring authentication in an IApplicationBuilder. This ensures seamless integration of JWT Bearer authentication and authorization in .NET applications.
Claims and Headers Handling: It offers utilities to handle claims and headers within user context, enabling the extraction of specific user information from JWT tokens and HTTP headers.
Security Configuration: The SecurityOptions class provides comprehensive configuration options for security settings, including authority, client ID, certificate paths, and validation parameters, ensuring that applications can be securely configured according to their requirements.
Error Handling: Custom extensions for handling authentication failures are provided, allowing applications to respond appropriately to various security token exceptions.
These features make the CodeDesignPlus.Net.Security library an essential tool for integrating comprehensive security mechanisms in .NET applications, providing flexibility, reliability, and ease of use.
To install the package, run the following command:
dotnet add package CodeDesignPlus.Net.Security
For more information regarding the library, you can visit our documentation at CodeDesignPlus Doc
Refer to issues for a list of proposed features and known issues.
Distributed under the MIT License. See LICENSE for more information.
CodeDesignPlus - @CodeDesignPlus - codedesignplus@outlook.com
Project Link: CodeDesignPlus.Net.Security
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. 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. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.13.0-beta.12851 | 48 | 6/3/2026 |
| 0.13.0-beta.12850 | 674 | 5/31/2026 |
| 0.13.0-beta.12848 | 438 | 5/25/2026 |
| 0.13.0-beta.12847 | 484 | 5/24/2026 |
| 0.13.0-beta.12840 | 96 | 5/21/2026 |
| 0.13.0-beta.12839 | 531 | 5/20/2026 |
| 0.13.0-beta.12822 | 905 | 5/18/2026 |
| 0.13.0-beta.12816 | 52 | 5/18/2026 |
| 0.13.0-beta.12815 | 100 | 5/17/2026 |
| 0.13.0-beta.12808 | 49 | 5/17/2026 |
| 0.13.0-beta.12770 | 132 | 5/16/2026 |
| 0.13.0-beta.12769 | 59 | 5/16/2026 |
| 0.13.0-beta.12768 | 52 | 5/16/2026 |
| 0.13.0-beta.12767 | 226 | 5/14/2026 |
| 0.13.0-beta.12766 | 171 | 5/1/2026 |
| 0.13.0-beta.12765 | 53 | 5/1/2026 |
| 0.13.0-beta.12762 | 54 | 5/1/2026 |
| 0.13.0-beta.12761 | 58 | 4/30/2026 |
| 0.13.0-beta.12760 | 61 | 4/30/2026 |
| 0.11.0 | 871 | 7/23/2025 |