![]() |
VOOZH | about |
dotnet add package CodeDesignPlus.Net.Security.Abstractions --version 0.11.0
NuGet\Install-Package CodeDesignPlus.Net.Security.Abstractions -Version 0.11.0
<PackageReference Include="CodeDesignPlus.Net.Security.Abstractions" Version="0.11.0" />
<PackageVersion Include="CodeDesignPlus.Net.Security.Abstractions" Version="0.11.0" />Directory.Packages.props
<PackageReference Include="CodeDesignPlus.Net.Security.Abstractions" />Project file
paket add CodeDesignPlus.Net.Security.Abstractions --version 0.11.0
#r "nuget: CodeDesignPlus.Net.Security.Abstractions, 0.11.0"
#:package CodeDesignPlus.Net.Security.Abstractions@0.11.0
#addin nuget:?package=CodeDesignPlus.Net.Security.Abstractions&version=0.11.0Install as a Cake Addin
#tool nuget:?package=CodeDesignPlus.Net.Security.Abstractions&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. |
Showing the top 5 NuGet packages that depend on CodeDesignPlus.Net.Security.Abstractions:
| Package | Downloads |
|---|---|
|
CodeDesignPlus.Net.Security
CodeDesignPlus.Net.Security provides a comprehensive framework for implementing security features in .NET Core applications. This library simplifies the process of managing authentication, authorization, and other security-related tasks, enabling developers to build secure and robust applications. |
|
|
CodeDesignPlus.Net.Mongo.Abstractions
CodeDesignPlus.Net.Mongo.Abstractions provides essential interfaces and abstract classes for integrating MongoDB with .NET Core applications. This library defines core contracts and abstractions that facilitate a clean and maintainable architecture for data access using MongoDB, enabling better testing and extensibility. |
|
|
CodeDesignPlus.Net.xUnit.Microservice
A library designed to optimize and facilitate unit testing for microservices using xUnit in .NET Core. |
|
|
CodeDesignPlus.Net.File.Storage.Abstractions
CodeDesignPlus.Net.File.Storage.Abstractions provides essential interfaces and abstract classes for managing file storage in .NET Core applications. This library defines core contracts and abstractions that facilitate a clean and maintainable architecture for file storage solutions, enabling better testing and extensibility. |
|
|
CodeDesignPlus.Net.EFCore.Abstractions
CodeDesignPlus.Net.EFCore.Abstractions provides essential interfaces and abstract classes for enhancing Entity Framework Core functionality. This library defines core contracts and abstractions that facilitate a clean and maintainable architecture for data access in .NET Core applications, enabling better testing and extensibility. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.13.0-beta.12851 | 85 | 6/3/2026 |
| 0.13.0-beta.12850 | 714 | 5/31/2026 |
| 0.13.0-beta.12848 | 468 | 5/25/2026 |
| 0.13.0-beta.12847 | 523 | 5/24/2026 |
| 0.13.0-beta.12840 | 143 | 5/21/2026 |
| 0.13.0-beta.12839 | 570 | 5/20/2026 |
| 0.13.0-beta.12822 | 2,099 | 5/18/2026 |
| 0.13.0-beta.12816 | 93 | 5/18/2026 |
| 0.13.0-beta.12815 | 146 | 5/17/2026 |
| 0.13.0-beta.12808 | 92 | 5/17/2026 |
| 0.13.0-beta.12770 | 178 | 5/16/2026 |
| 0.13.0-beta.12769 | 106 | 5/16/2026 |
| 0.13.0-beta.12768 | 93 | 5/16/2026 |
| 0.13.0-beta.12767 | 267 | 5/14/2026 |
| 0.13.0-beta.12766 | 195 | 5/1/2026 |
| 0.13.0-beta.12765 | 73 | 5/1/2026 |
| 0.13.0-beta.12762 | 72 | 5/1/2026 |
| 0.13.0-beta.12761 | 78 | 4/30/2026 |
| 0.13.0-beta.12760 | 77 | 4/30/2026 |
| 0.11.0 | 969 | 7/23/2025 |