Cuemon.AspNetCore.Authentication
9.0.0
Prefix Reserved
dotnet add package Cuemon.AspNetCore.Authentication --version 9.0.0
NuGet\Install-Package Cuemon.AspNetCore.Authentication -Version 9.0.0
<PackageReference Include="Cuemon.AspNetCore.Authentication" Version="9.0.0" />
paket add Cuemon.AspNetCore.Authentication --version 9.0.0
#r "nuget: Cuemon.AspNetCore.Authentication, 9.0.0"
// Install Cuemon.AspNetCore.Authentication as a Cake Addin #addin nuget:?package=Cuemon.AspNetCore.Authentication&version=9.0.0 // Install Cuemon.AspNetCore.Authentication as a Cake Tool #tool nuget:?package=Cuemon.AspNetCore.Authentication&version=9.0.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:
- Cuemon.AspNetCore.Authentication 🔗
- Cuemon.AspNetCore.Authentication.Basic 🔗
- Cuemon.AspNetCore.Authentication.Digest 🔗
- Cuemon.AspNetCore.Authentication.Hmac 🔗
Related Packages
- Cuemon.AspNetCore 📦
- Cuemon.AspNetCore.App 🏭
- Cuemon.AspNetCore.Authentication 📦
- Cuemon.AspNetCore.Mvc 📦
- Cuemon.AspNetCore.Razor.TagHelpers 📦
- Cuemon.Core 📦
- Cuemon.Core.App 🏭
- Cuemon.Data 📦
- Cuemon.Data.Integrity 📦
- Cuemon.Data.SqlClient 📦
- Cuemon.Diagnostics 📦
- Cuemon.Extensions.Globalization 📦
- Cuemon.Extensions.AspNetCore 📦
- Cuemon.Extensions.AspNetCore.Authentication 📦
- Cuemon.Extensions.AspNetCore.Mvc 📦
- Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json 📦
- Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml 📦
- Cuemon.Extensions.AspNetCore.Mvc.RazorPages 📦
- Cuemon.Extensions.AspNetCore.Text.Json 📦
- Cuemon.Extensions.AspNetCore.Xml 📦
- Cuemon.Extensions.Collections.Generic 📦
- Cuemon.Extensions.Collections.Specialized 📦
- Cuemon.Extensions.Core 📦
- Cuemon.Extensions.Data 📦
- Cuemon.Extensions.Data.Integrity 📦
- Cuemon.Extensions.DependencyInjection 📦
- Cuemon.Extensions.Diagnostics 📦
- Cuemon.Extensions.Hosting 📦
- Cuemon.Extensions.IO 📦
- Cuemon.Extensions.Net 📦
- Cuemon.Extensions.Reflection 📦
- Cuemon.Extensions.Runtime.Caching 📦
- Cuemon.Extensions.Text 📦
- Cuemon.Extensions.Text.Json 📦
- Cuemon.Extensions.Threading 📦
- Cuemon.Extensions.Xml 📦
- Cuemon.IO 📦
- Cuemon.Net 📦
- Cuemon.Resilience 📦
- Cuemon.Runtime.Caching 📦
- Cuemon.Security.Cryptography 📦
- Cuemon.Threading 📦
- Cuemon.Xml 📦
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. |
-
net8.0
- Cuemon.AspNetCore (>= 9.0.0)
- Cuemon.Net (>= 9.0.0)
- Cuemon.Security.Cryptography (>= 9.0.0)
-
net9.0
- Cuemon.AspNetCore (>= 9.0.0)
- Cuemon.Net (>= 9.0.0)
- Cuemon.Security.Cryptography (>= 9.0.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Cuemon.AspNetCore.Authentication:
Package | Downloads |
---|---|
Cuemon.Extensions.AspNetCore.Authentication
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
Provides a convenient set of default API additions for building an ASP.NET Core application. |
|
Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4
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. |
|
Codebelt.Extensions.AwsSignature4
The Codebelt.Extensions.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 |
---|---|---|
9.0.0 | 285 | 11/13/2024 |
9.0.0-rc.1 | 142 | 11/11/2024 |
9.0.0-preview.12 | 52 | 10/17/2024 |
9.0.0-preview.11 | 159 | 10/9/2024 |
9.0.0-preview.10 | 84 | 10/5/2024 |
9.0.0-preview.9 | 442 | 9/26/2024 |
9.0.0-preview.8 | 52 | 9/23/2024 |
9.0.0-preview.7 | 52 | 9/21/2024 |
9.0.0-preview.6 | 70 | 9/18/2024 |
9.0.0-preview.5 | 63 | 9/13/2024 |
9.0.0-preview.4 | 51 | 9/6/2024 |
9.0.0-preview.3 | 56 | 8/31/2024 |
9.0.0-preview.2 | 77 | 8/23/2024 |
9.0.0-preview.1 | 71 | 8/17/2024 |
8.3.2 | 438 | 8/4/2024 |
8.3.1 | 198 | 6/2/2024 |
8.3.0 | 238 | 4/9/2024 |
8.2.0 | 316 | 3/3/2024 |
8.1.0 | 428 | 2/10/2024 |
8.1.0-rc1 | 336 | 2/8/2024 |
8.1.0-preview.52 | 65 | 2/5/2024 |
8.1.0-preview.20 | 77 | 1/22/2024 |
8.1.0-preview | 383 | 1/16/2024 |
8.0.1 | 483 | 1/11/2024 |
8.0.0 | 665 | 11/14/2023 |
8.0.0-rc2 | 434 | 11/13/2023 |
8.0.0-rc1 | 477 | 11/7/2023 |
8.0.0-preview.183 | 73 | 11/13/2023 |
8.0.0-preview.176 | 75 | 11/12/2023 |
8.0.0-preview.158 | 63 | 11/9/2023 |
7.1.0 | 1,602 | 12/11/2022 |
7.0.0 | 1,468 | 11/9/2022 |
7.0.0-rc.2 | 118 | 11/3/2022 |
7.0.0-rc.1 | 108 | 10/26/2022 |
7.0.0-alpha.2 | 106 | 10/16/2022 |
7.0.0-alpha.1 | 129 | 9/23/2022 |
7.0.0-alpha | 805 | 7/12/2022 |
6.4.1 | 1,789 | 5/8/2022 |
6.4.0 | 1,572 | 1/24/2022 |
6.4.0-rc | 846 | 1/23/2022 |
6.3.0 | 2,048 | 11/28/2021 |
6.2.0 | 1,841 | 5/30/2021 |
6.1.0 | 1,230 | 5/16/2021 |
6.0.1 | 1,113 | 5/3/2021 |
6.0.1-rc | 818 | 5/3/2021 |
6.0.0 | 1,214 | 4/18/2021 |
6.0.0-rc.23 | 180 | 4/18/2021 |
6.0.0-rc.21 | 156 | 4/12/2021 |
6.0.0-rc.20 | 167 | 4/1/2021 |
6.0.0-rc.18 | 247 | 3/22/2021 |
6.0.0-rc.17 | 163 | 3/14/2021 |
6.0.0-rc.16 | 190 | 3/7/2021 |
6.0.0-rc.15 | 176 | 3/4/2021 |
6.0.0-rc.14 | 195 | 3/4/2021 |
6.0.0-rc.12 | 210 | 3/3/2021 |
6.0.0-rc.6 | 192 | 2/28/2021 |
6.0.0-rc.2 | 191 | 2/28/2021 |
5.0.2019.40 | 1,401 | 2/10/2019 |
5.0.2019.30 | 1,268 | 1/28/2019 |
5.0.2018.350 | 1,341 | 12/16/2018 |
5.0.2018.251 | 1,766 | 9/10/2018 |
5.0.2018.250 | 1,255 | 9/9/2018 |
4.3.2018.2200 | 1,458 | 8/8/2018 |
4.3.2018.2070 | 1,279 | 7/27/2018 |
4.2.2018.840 | 1,449 | 2/10/2018 |
Version 9.0.0
Availability: .NET 9 and .NET 8
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
- REMOVED Support for TFM .NET 6 (LTS)
Version 8.3.2
Availability: .NET 8 and .NET 6
# ALM
- REMOVED Support for TFM .NET 7 (STS)
Version 8.2.0
Availability: .NET 8, .NET 7 and .NET 6
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
# New Features
- ADDED AuthenticationHandlerFeature class in the Cuemon.AspNetCore.Authentication namespace that provides a combined default implementation of IAuthenticateResultFeature and IHttpAuthenticationFeature so that AuthenticateResult and User is consistent with each other
# Improvements
- CHANGED BasicAuthenticationHandler class in the Cuemon.AspNetCore.Authentication.Basic namespace to propagate IAuthenticateResultFeature and IHttpAuthenticationFeature as part of HandleChallengeAsync
- CHANGED DigestAuthenticationHandler class in the Cuemon.AspNetCore.Authentication.Digest namespace to propagate IAuthenticateResultFeature and IHttpAuthenticationFeature as part of HandleChallengeAsync
- CHANGED HmacAuthenticationHandler class in the Cuemon.AspNetCore.Authentication.Hmac namespace to propagate IAuthenticateResultFeature and IHttpAuthenticationFeature as part of HandleChallengeAsync
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/