Cuemon.AspNetCore.Authentication
8.3.2
Prefix Reserved
See the version list below for details.
dotnet add package Cuemon.AspNetCore.Authentication --version 8.3.2
NuGet\Install-Package Cuemon.AspNetCore.Authentication -Version 8.3.2
<PackageReference Include="Cuemon.AspNetCore.Authentication" Version="8.3.2" />
paket add Cuemon.AspNetCore.Authentication --version 8.3.2
#r "nuget: Cuemon.AspNetCore.Authentication, 8.3.2"
// Install Cuemon.AspNetCore.Authentication as a Cake Addin #addin nuget:?package=Cuemon.AspNetCore.Authentication&version=8.3.2 // Install Cuemon.AspNetCore.Authentication as a Cake Tool #tool nuget:?package=Cuemon.AspNetCore.Authentication&version=8.3.2
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.Newtonsoft.Json 📦
- Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json 📦
- Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml 📦
- Cuemon.Extensions.AspNetCore.Mvc.RazorPages 📦
- Cuemon.Extensions.AspNetCore.Newtonsoft.Json 📦
- 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.Asp.Versioning 📦
- Cuemon.Extensions.Hosting 📦
- Cuemon.Extensions.IO 📦
- Cuemon.Extensions.Net 📦
- Cuemon.Extensions.Newtonsoft.Json 📦
- Cuemon.Extensions.Newtonsoft.Json.App 🏭
- Cuemon.Extensions.Reflection 📦
- Cuemon.Extensions.Runtime.Caching 📦
- Cuemon.Extensions.Swashbuckle.AspNetCore 📦
- Cuemon.Extensions.Text 📦
- Cuemon.Extensions.Text.Json 📦
- Cuemon.Extensions.Threading 📦
- Cuemon.Extensions.Xml 📦
- Cuemon.Extensions.Xunit 📦
- Cuemon.Extensions.Xunit.App 🏭
- Cuemon.Extensions.Xunit.Hosting 📦
- Cuemon.Extensions.Xunit.Hosting.AspNetCore 📦
- Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc 📦
- Cuemon.Extensions.YamlDotNet 📦
- 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 | 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 was computed. 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. |
-
net6.0
- Cuemon.AspNetCore (>= 8.3.2)
- Cuemon.Net (>= 8.3.2)
- Cuemon.Security.Cryptography (>= 8.3.2)
-
net8.0
- Cuemon.AspNetCore (>= 8.3.2)
- Cuemon.Net (>= 8.3.2)
- Cuemon.Security.Cryptography (>= 8.3.2)
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-preview.12 | 42 | 10/17/2024 |
9.0.0-preview.11 | 153 | 10/9/2024 |
9.0.0-preview.10 | 80 | 10/5/2024 |
9.0.0-preview.9 | 436 | 9/26/2024 |
9.0.0-preview.8 | 47 | 9/23/2024 |
9.0.0-preview.7 | 47 | 9/21/2024 |
9.0.0-preview.6 | 64 | 9/18/2024 |
9.0.0-preview.5 | 58 | 9/13/2024 |
9.0.0-preview.4 | 46 | 9/6/2024 |
9.0.0-preview.3 | 51 | 8/31/2024 |
9.0.0-preview.2 | 74 | 8/23/2024 |
9.0.0-preview.1 | 66 | 8/17/2024 |
8.3.2 | 391 | 8/4/2024 |
8.3.1 | 191 | 6/2/2024 |
8.3.0 | 233 | 4/9/2024 |
8.2.0 | 311 | 3/3/2024 |
8.1.0 | 417 | 2/10/2024 |
8.1.0-rc1 | 327 | 2/8/2024 |
8.1.0-preview.52 | 62 | 2/5/2024 |
8.1.0-preview.20 | 70 | 1/22/2024 |
8.1.0-preview | 376 | 1/16/2024 |
8.0.1 | 475 | 1/11/2024 |
8.0.0 | 658 | 11/14/2023 |
8.0.0-rc2 | 431 | 11/13/2023 |
8.0.0-rc1 | 472 | 11/7/2023 |
8.0.0-preview.183 | 70 | 11/13/2023 |
8.0.0-preview.176 | 70 | 11/12/2023 |
8.0.0-preview.158 | 60 | 11/9/2023 |
7.1.0 | 1,560 | 12/11/2022 |
7.0.0 | 1,463 | 11/9/2022 |
7.0.0-rc.2 | 115 | 11/3/2022 |
7.0.0-rc.1 | 105 | 10/26/2022 |
7.0.0-alpha.2 | 103 | 10/16/2022 |
7.0.0-alpha.1 | 124 | 9/23/2022 |
7.0.0-alpha | 802 | 7/12/2022 |
6.4.1 | 1,781 | 5/8/2022 |
6.4.0 | 1,565 | 1/24/2022 |
6.4.0-rc | 841 | 1/23/2022 |
6.3.0 | 2,041 | 11/28/2021 |
6.2.0 | 1,816 | 5/30/2021 |
6.1.0 | 1,223 | 5/16/2021 |
6.0.1 | 1,106 | 5/3/2021 |
6.0.1-rc | 797 | 5/3/2021 |
6.0.0 | 1,205 | 4/18/2021 |
6.0.0-rc.23 | 177 | 4/18/2021 |
6.0.0-rc.21 | 152 | 4/12/2021 |
6.0.0-rc.20 | 162 | 4/1/2021 |
6.0.0-rc.18 | 244 | 3/22/2021 |
6.0.0-rc.17 | 160 | 3/14/2021 |
6.0.0-rc.16 | 185 | 3/7/2021 |
6.0.0-rc.15 | 173 | 3/4/2021 |
6.0.0-rc.14 | 192 | 3/4/2021 |
6.0.0-rc.12 | 207 | 3/3/2021 |
6.0.0-rc.6 | 189 | 2/28/2021 |
6.0.0-rc.2 | 188 | 2/28/2021 |
5.0.2019.40 | 1,394 | 2/10/2019 |
5.0.2019.30 | 1,261 | 1/28/2019 |
5.0.2018.350 | 1,333 | 12/16/2018 |
5.0.2018.251 | 1,753 | 9/10/2018 |
5.0.2018.250 | 1,241 | 9/9/2018 |
4.3.2018.2200 | 1,443 | 8/8/2018 |
4.3.2018.2070 | 1,267 | 7/27/2018 |
4.2.2018.840 | 1,439 | 2/10/2018 |
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/