Cuemon.AspNetCore.Authentication
9.0.0-preview.8
Prefix Reserved
See the version list below for details.
dotnet add package Cuemon.AspNetCore.Authentication --version 9.0.0-preview.8
NuGet\Install-Package Cuemon.AspNetCore.Authentication -Version 9.0.0-preview.8
<PackageReference Include="Cuemon.AspNetCore.Authentication" Version="9.0.0-preview.8" />
paket add Cuemon.AspNetCore.Authentication --version 9.0.0-preview.8
#r "nuget: Cuemon.AspNetCore.Authentication, 9.0.0-preview.8"
// Install Cuemon.AspNetCore.Authentication as a Cake Addin #addin nuget:?package=Cuemon.AspNetCore.Authentication&version=9.0.0-preview.8&prerelease // Install Cuemon.AspNetCore.Authentication as a Cake Tool #tool nuget:?package=Cuemon.AspNetCore.Authentication&version=9.0.0-preview.8&prerelease
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.Authentication.AwsSignature4 📦
- 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-preview.8)
- Cuemon.Net (>= 9.0.0-preview.8)
- Cuemon.Security.Cryptography (>= 9.0.0-preview.8)
-
net9.0
- Cuemon.AspNetCore (>= 9.0.0-preview.8)
- Cuemon.Net (>= 9.0.0-preview.8)
- Cuemon.Security.Cryptography (>= 9.0.0-preview.8)
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 | 247 | 11/13/2024 |
9.0.0-rc.1 | 130 | 11/11/2024 |
9.0.0-preview.12 | 49 | 10/17/2024 |
9.0.0-preview.11 | 156 | 10/9/2024 |
9.0.0-preview.10 | 81 | 10/5/2024 |
9.0.0-preview.9 | 437 | 9/26/2024 |
9.0.0-preview.8 | 48 | 9/23/2024 |
9.0.0-preview.7 | 50 | 9/21/2024 |
9.0.0-preview.6 | 65 | 9/18/2024 |
9.0.0-preview.5 | 59 | 9/13/2024 |
9.0.0-preview.4 | 47 | 9/6/2024 |
9.0.0-preview.3 | 52 | 8/31/2024 |
9.0.0-preview.2 | 75 | 8/23/2024 |
9.0.0-preview.1 | 67 | 8/17/2024 |
8.3.2 | 423 | 8/4/2024 |
8.3.1 | 192 | 6/2/2024 |
8.3.0 | 234 | 4/9/2024 |
8.2.0 | 312 | 3/3/2024 |
8.1.0 | 420 | 2/10/2024 |
8.1.0-rc1 | 328 | 2/8/2024 |
8.1.0-preview.52 | 63 | 2/5/2024 |
8.1.0-preview.20 | 73 | 1/22/2024 |
8.1.0-preview | 379 | 1/16/2024 |
8.0.1 | 476 | 1/11/2024 |
8.0.0 | 659 | 11/14/2023 |
8.0.0-rc2 | 432 | 11/13/2023 |
8.0.0-rc1 | 475 | 11/7/2023 |
8.0.0-preview.183 | 71 | 11/13/2023 |
8.0.0-preview.176 | 71 | 11/12/2023 |
8.0.0-preview.158 | 61 | 11/9/2023 |
7.1.0 | 1,571 | 12/11/2022 |
7.0.0 | 1,464 | 11/9/2022 |
7.0.0-rc.2 | 116 | 11/3/2022 |
7.0.0-rc.1 | 106 | 10/26/2022 |
7.0.0-alpha.2 | 104 | 10/16/2022 |
7.0.0-alpha.1 | 127 | 9/23/2022 |
7.0.0-alpha | 803 | 7/12/2022 |
6.4.1 | 1,783 | 5/8/2022 |
6.4.0 | 1,566 | 1/24/2022 |
6.4.0-rc | 844 | 1/23/2022 |
6.3.0 | 2,042 | 11/28/2021 |
6.2.0 | 1,829 | 5/30/2021 |
6.1.0 | 1,224 | 5/16/2021 |
6.0.1 | 1,107 | 5/3/2021 |
6.0.1-rc | 816 | 5/3/2021 |
6.0.0 | 1,208 | 4/18/2021 |
6.0.0-rc.23 | 178 | 4/18/2021 |
6.0.0-rc.21 | 154 | 4/12/2021 |
6.0.0-rc.20 | 165 | 4/1/2021 |
6.0.0-rc.18 | 245 | 3/22/2021 |
6.0.0-rc.17 | 161 | 3/14/2021 |
6.0.0-rc.16 | 188 | 3/7/2021 |
6.0.0-rc.15 | 174 | 3/4/2021 |
6.0.0-rc.14 | 193 | 3/4/2021 |
6.0.0-rc.12 | 208 | 3/3/2021 |
6.0.0-rc.6 | 190 | 2/28/2021 |
6.0.0-rc.2 | 189 | 2/28/2021 |
5.0.2019.40 | 1,395 | 2/10/2019 |
5.0.2019.30 | 1,262 | 1/28/2019 |
5.0.2018.350 | 1,334 | 12/16/2018 |
5.0.2018.251 | 1,755 | 9/10/2018 |
5.0.2018.250 | 1,243 | 9/9/2018 |
4.3.2018.2200 | 1,447 | 8/8/2018 |
4.3.2018.2070 | 1,270 | 7/27/2018 |
4.2.2018.840 | 1,440 | 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/