Cuemon.AspNetCore.Authentication 8.1.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Cuemon.AspNetCore.Authentication --version 8.1.0
NuGet\Install-Package Cuemon.AspNetCore.Authentication -Version 8.1.0
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="Cuemon.AspNetCore.Authentication" Version="8.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cuemon.AspNetCore.Authentication --version 8.1.0
#r "nuget: Cuemon.AspNetCore.Authentication, 8.1.0"
#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 Cuemon.AspNetCore.Authentication as a Cake Addin
#addin nuget:?package=Cuemon.AspNetCore.Authentication&version=8.1.0

// Install Cuemon.AspNetCore.Authentication as a Cake Tool
#tool nuget:?package=Cuemon.AspNetCore.Authentication&version=8.1.0

About

An open-source project (MIT license) that targets and complements the Microsoft .NET platform. It provides vast ways of possibilities for all breeds of coders, programmers, developers and the likes thereof. Your ideal companion for .NET 8, .NET 7, .NET 6, .NET Standard 2 and .NET Framework 4.6.2 and newer.

It is, by heart, free, flexible and built to extend and boost your agile codebelt.

Cuemon.AspNetCore.Authentication for .NET

The Cuemon.AspNetCore.Authentication namespace contains types that enable support for authentication using the concept of an Authenticator, AuthorizationHeader and (to tie the knots) an AuthorizationHeaderBuilder. Basic-, Digest Access- and HMAC Authentication is provided out-of-the-box. The namespace is an addition to the Microsoft.AspNetCore.Authentication namespace.

More documentation available at our documentation site:

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 (3)

Showing the top 3 NuGet packages that depend on Cuemon.AspNetCore.Authentication:

Package Downloads
Cuemon.Extensions.AspNetCore.Authentication The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

The Cuemon.Extensions.AspNetCore.Authentication namespace contains both types and extension methods that complements the Cuemon.AspNetCore.Authentication namespace while being an addition to the Microsoft.AspNetCore.Authentication namespace.

Cuemon.AspNetCore.App The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides a convenient set of default API additions for building an ASP.NET Core application.

Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

The Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4 namespace complements the Cuemon.AspNetCore.Authentication namespace while providing a way making and signing HTTP requests in the context of specific AWS services using Signature Version 4.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.1.0 200 2/10/2024
8.1.0-rc1 145 2/8/2024
8.1.0-preview.52 43 2/5/2024
8.1.0-preview.20 54 1/22/2024
8.1.0-preview 209 1/16/2024
8.0.1 316 1/11/2024
8.0.0 461 11/14/2023
8.0.0-rc2 280 11/13/2023
8.0.0-rc1 344 11/7/2023
8.0.0-preview.183 53 11/13/2023
8.0.0-preview.176 52 11/12/2023
8.0.0-preview.158 45 11/9/2023
7.1.0 1,340 12/11/2022
7.0.0 1,312 11/9/2022
7.0.0-rc.2 93 11/3/2022
7.0.0-rc.1 89 10/26/2022
7.0.0-alpha.2 88 10/16/2022
7.0.0-alpha.1 109 9/23/2022
7.0.0-alpha 656 7/12/2022
6.4.1 1,635 5/8/2022
6.4.0 1,422 1/24/2022
6.4.0-rc 675 1/23/2022
6.3.0 1,884 11/28/2021
6.2.0 1,585 5/30/2021
6.1.0 1,091 5/16/2021
6.0.1 956 5/3/2021
6.0.1-rc 655 5/3/2021
6.0.0 1,042 4/18/2021
6.0.0-rc.23 163 4/18/2021
6.0.0-rc.21 133 4/12/2021
6.0.0-rc.20 148 4/1/2021
6.0.0-rc.18 231 3/22/2021
6.0.0-rc.17 148 3/14/2021
6.0.0-rc.16 173 3/7/2021
6.0.0-rc.15 159 3/4/2021
6.0.0-rc.14 180 3/4/2021
6.0.0-rc.12 187 3/3/2021
6.0.0-rc.6 170 2/28/2021
6.0.0-rc.2 175 2/28/2021
5.0.2019.40 1,228 2/10/2019
5.0.2019.30 1,114 1/28/2019
5.0.2018.350 1,168 12/16/2018
5.0.2018.251 1,596 9/10/2018
5.0.2018.250 1,118 9/9/2018
4.3.2018.2200 1,267 8/8/2018
4.3.2018.2070 1,104 7/27/2018
4.2.2018.840 1,292 2/10/2018

Version: 8.1.0
Availability: .NET 8, .NET 7 and .NET 6
 
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
 
# Breaking Changes
- CHANGED TryAuthenticate{T} signature on the static Authenticator class in the Cuemon.AspNetCore.Authentication namespace to honor the otherwise suggested Try-Parse pattern (although breaking the method was assessed to have low risk of external callers)
- CHANGED Authenticate{T} signature on the static Authenticator class in the Cuemon.AspNetCore.Authentication namespace to return a ClaimsPrincipal (wrapped inside a ConditionalValue) instead of assigning this directly to the User of the HttpContext instance (although breaking the method was assessed to have low risk of external callers)
 
# New Features
- ADDED BasicAuthenticationHandler class in the Cuemon.AspNetCore.Authentication.Basic namespace to provide a HTTP Basic Authentication implementation of AuthenticationHandler{TOptions}
- ADDED DigestAuthenticationHandler class in the Cuemon.AspNetCore.Authentication.Digest namespace to provide a HTTP Digest Access Authentication implementation of AuthenticationHandler{TOptions}
- ADDED HmacAuthenticationHandler class in the Cuemon.AspNetCore.Authentication.Hmac namespace to provide a HTTP HMAC Authentication implementation of AuthenticationHandler{TOptions}
 
# Improvements
- CHANGED BasicAuthenticationMiddleware class in the Cuemon.AspNetCore.Authentication.Basic namespace to be slightly more reusable in the confines of the Cuemon.AspNetCore.Authentication assembly
- CHANGED BasicAuthenticationOptions class in the Cuemon.AspNetCore.Authentication.Basic namespace to include ValidateOptions to ensure that public read-write properties are in a valid state
- CHANGED AuthenticationOptions class in the Cuemon.AspNetCore.Authentication namespace to inherit from AuthenticationSchemeOptions and implement IValidatableParameterObject (replacing earlier IParameterObject) that ensures UnauthorizedMessage property is in a valid state
- CHANGED DigestAuthenticationMiddleware class in the Cuemon.AspNetCore.Authentication.Digest namespace to be slightly more reusable in the confines of the Cuemon.AspNetCore.Authentication assembly
- CHANGED DigestAuthenticationOptions class in the Cuemon.AspNetCore.Authentication.Digest namespace to include ValidateOptions to ensure that public read-write properties are in a valid state
- CHANGED DigestAuthorizationHeaderBuilder class in the Cuemon.AspNetCore.Authentication.Digest namespace to include an extra overload of AddFromWwwAuthenticateHeader that accepts an instance of HttpResponseHeaders
- CHANGED HmacAuthenticationMiddleware class in the Cuemon.AspNetCore.Authentication.Hmac namespace to be slightly more reusable in the confines of the Cuemon.AspNetCore.Authentication assembly
- CHANGED HmacAuthenticationOptions class in the Cuemon.AspNetCore.Authentication.Hmac namespace to include ValidateOptions to ensure that public read-write properties are in a valid state
- CHANGED HmacAuthorizationHeaderBuilder class in the Cuemon.AspNetCore.Authentication.Digest namespace to include an extra overload of AddFromRequest that accepts an instance of HttpRequestMessage
 
# Bug Fixes
- FIXED DigestAuthenticationOptions class in the Cuemon.AspNetCore.Authentication.Digest namespace to include UseServerSideHa1Storage that finally allows the server to bypass calculation of HA1 password representation
 
Version: 8.0.1
Availability: .NET 8, .NET 7 and .NET 6
 
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
 
Version: 8.0.0
Availability: .NET 8, .NET 7 and .NET 6
 
# ALM
- ADDED TFM for net8.0
- REMOVED TFM for netstandard2.0
- CHANGED Dependencies to latest and greatest with respect to TFMs
 
# Quality Analysis Actions
- CHANGED HmacAuthorizationHeader class in the Cuemon.AspNetCore.Authentication.Hmac namespace to be compliant with https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1860
- CHANGED BasicAuthenticationMiddleware class in the Cuemon.AspNetCore.Authentication.Basic namespace to be compliant with https://rules.sonarsource.com/csharp/RSPEC-6618/
- CHANGED DigestAuthenticationMiddleware class in the Cuemon.AspNetCore.Authentication.Digest namespace to be compliant with https://rules.sonarsource.com/csharp/RSPEC-6618/
- CHANGED DigestAuthorizationHeaderBuilder class in the Cuemon.AspNetCore.Authentication.Digest namespace to be compliant with https://rules.sonarsource.com/csharp/RSPEC-6618/
- CHANGED HmacAuthenticationMiddleware class in the Cuemon.AspNetCore.Authentication.Hmac namespace to be compliant with https://rules.sonarsource.com/csharp/RSPEC-6618/