CodeDesignPlus.Net.Security 0.5.0-beta.4

This is a prerelease version of CodeDesignPlus.Net.Security.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CodeDesignPlus.Net.Security --version 0.5.0-beta.4                
NuGet\Install-Package CodeDesignPlus.Net.Security -Version 0.5.0-beta.4                
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="CodeDesignPlus.Net.Security" Version="0.5.0-beta.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodeDesignPlus.Net.Security --version 0.5.0-beta.4                
#r "nuget: CodeDesignPlus.Net.Security, 0.5.0-beta.4"                
#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.
// Install CodeDesignPlus.Net.Security as a Cake Addin
#addin nuget:?package=CodeDesignPlus.Net.Security&version=0.5.0-beta.4&prerelease

// Install CodeDesignPlus.Net.Security as a Cake Tool
#tool nuget:?package=CodeDesignPlus.Net.Security&version=0.5.0-beta.4&prerelease                

CodeDesignPlus.Net.Security

Quality Gate Status Bugs Code Smells Coverage Duplicated Lines (%) Vulnerabilities

Description

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.

Table of Contents

About The Project

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.

Key Features

  • 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.

Installation

To install the package, run the following command:

dotnet add package CodeDesignPlus.Net.Security

Usage

For more information regarding the library, you can visit our documentation at CodeDesignPlus Doc

Roadmap

Refer to issues for a list of proposed features and known issues.

Roadmap

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b features/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

CodeDesignPlus - @CodeDesignPlus - codedesignplus@outlook.com

Project Link: CodeDesignPlus.Net.Security

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.5.0-beta.14 39 11/8/2024
0.5.0-beta.13 33 11/7/2024
0.5.0-beta.11 34 11/6/2024
0.5.0-beta.9 40 11/3/2024
0.5.0-beta.6 41 11/1/2024
0.5.0-beta.4 39 10/31/2024
0.3.0-rc.3 40 10/28/2024
0.3.0-beta.3 40 10/28/2024
0.3.0-alpha.3 39 10/28/2024
0.2.1-alpha.1 37 10/26/2024
0.2.1-alpha.0 36 10/26/2024
0.2.0 76 10/25/2024
0.2.0-rc.27 34 10/25/2024
0.2.0-rc.18 48 10/1/2024
0.2.0-beta.27 38 10/25/2024
0.2.0-beta.18 50 10/1/2024
0.2.0-alpha.27 34 10/25/2024
0.2.0-alpha.26 34 10/25/2024
0.2.0-alpha.25 34 10/25/2024
0.2.0-alpha.24 35 10/25/2024
0.2.0-alpha.23 38 10/24/2024
0.2.0-alpha.22 37 10/24/2024
0.2.0-alpha.21 40 10/23/2024
0.2.0-alpha.20 41 10/22/2024
0.2.0-alpha.19 49 10/21/2024
0.2.0-alpha.18 47 10/1/2024
0.2.0-alpha.17 45 10/1/2024
0.2.0-alpha.16 42 9/30/2024
0.2.0-alpha.15 123 9/30/2024
0.2.0-alpha.14 41 9/30/2024
0.2.0-alpha.13 47 9/29/2024
0.2.0-alpha.12 47 9/29/2024
0.2.0-alpha.11 58 9/29/2024
0.2.0-alpha.10 50 9/28/2024
0.2.0-alpha.9 52 9/28/2024
0.2.0-alpha.7 49 9/28/2024
0.2.0-alpha.6 48 9/28/2024
0.2.0-alpha.5 44 9/28/2024
0.2.0-alpha.4 52 9/28/2024
0.2.0-alpha.3 54 9/1/2024
0.2.0-alpha.2 51 9/28/2024
0.1.2-alpha.1 64 8/24/2024
0.1.2-alpha.0 67 8/24/2024
0.1.1 136 8/23/2024
0.1.1-alpha.19 72 8/23/2024