Cuemon.AspNetCore.Authentication 6.0.0-rc.21

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. The namespace is an addition to the Microsoft.AspNetCore.Authentication namespace.

This is a prerelease version of Cuemon.AspNetCore.Authentication.
There is a newer version of this package available.
See the version list below for details.
Install-Package Cuemon.AspNetCore.Authentication -Version 6.0.0-rc.21
dotnet add package Cuemon.AspNetCore.Authentication --version 6.0.0-rc.21
<PackageReference Include="Cuemon.AspNetCore.Authentication" Version="6.0.0-rc.21" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cuemon.AspNetCore.Authentication --version 6.0.0-rc.21
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cuemon.AspNetCore.Authentication, 6.0.0-rc.21"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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=6.0.0-rc.21&prerelease

// Install Cuemon.AspNetCore.Authentication as a Cake Tool
#tool nuget:?package=Cuemon.AspNetCore.Authentication&version=6.0.0-rc.21&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version: 6.0.0
Availability: NET Standard 2.0, NET Core 3.0, NET 5.0
 
# Upgrade Steps
- Any former extension methods of the Cuemon.AspNetCore.Authentication namespace was merged into the Cuemon.Extensions.AspNetCore.Authentication namespace
 
# Breaking Changes
- RENAMED AuthenticationUtility class in the Cuemon.AspNetCore.Authentication namespace to Authenticator and removed all constants
- REMOVED DigestAccessAuthenticationParameters class from the Cuemon.AspNetCore.Authentication namespace
- REMOVED DigestAuthenticationUtility class from the Cuemon.AspNetCore.Authentication namespace
- REMOVED HmacAuthenticationParameters class from the Cuemon.AspNetCore.Authentication namespace
- MOVED BasicAuthenticationMiddleware class from the Cuemon.AspNetCore.Authentication namespace to Cuemon.AspNetCore.Authentication.Basic namespace (including refactoring)
- MOVED BasicAuthenticationOptions class from the Cuemon.AspNetCore.Authentication namespace to Cuemon.AspNetCore.Authentication.Basic namespace
- MOVED BasicAuthenticator delegate from the Cuemon.AspNetCore.Authentication namespace to Cuemon.AspNetCore.Authentication.Basic namespace
- MOVED DigestAccessAuthenticationMiddleware class from the Cuemon.AspNetCore.Authentication namespace to Cuemon.AspNetCore.Authentication.Digest namespace (including refactoring)
- MOVED DigestAccessAuthenticationOptions class from the Cuemon.AspNetCore.Authentication namespace to Cuemon.AspNetCore.Authentication.Digest namespace (including refactoring)
- MOVED DigestAccessAuthenticator delegate from the Cuemon.AspNetCore.Authentication namespace to Cuemon.AspNetCore.Authentication.Digest namespace
- RENAMED DigestAccessAuthenticationMiddleware class in the Cuemon.AspNetCore.Authentication.Digest namespace to DigestAuthenticationMiddleware
- RENAMED DigestAccessAuthenticationOptions class in the Cuemon.AspNetCore.Authentication.Digest namespace to DigestAuthenticationOptions
- RENAMED DigestAccessAuthenticator class in the Cuemon.AspNetCore.Authentication.Digest namespace to DigestAuthenticator
- MOVED HmacAuthenticationMiddleware class from the Cuemon.AspNetCore.Authentication namespace to Cuemon.AspNetCore.Authentication.Hmac namespace (including refactoring)
- MOVED HmacAuthenticationOptions class from the Cuemon.AspNetCore.Authentication namespace to Cuemon.AspNetCore.Authentication.Hmac namespace (including refactoring)
- MOVED HmacAuthenticator delegate from the Cuemon.AspNetCore.Authentication namespace to Cuemon.AspNetCore.Authentication.Hmac namespace
- MOVED UnauthorizedException class from the Cuemon.AspNetCore.Authentication namespace to Cuemon.AspNetCore assembly in the Cuemon.AspNetCore.Http namespace
 
# New Features
- ADDED BasicAuthorizationHeader class in the Cuemon.AspNetCore.Authentication.Basic namespace that provides a representation of a HTTP Basic Authentication header
- ADDED BasicAuthorizationHeaderBuilder class in the Cuemon.AspNetCore.Authentication.Basic namespace that provides a way to fluently represent a HTTP Basic Authentication header
- ADDED BasicFields class in the Cuemon.AspNetCore.Authentication.Basic namespace that holds a collection of constants for BasicAuthorizationHeaderBuilder
- ADDED DigestAuthorizationHeader class in the Cuemon.AspNetCore.Authentication.Basic namespace that provides a representation of a HTTP Digest Access Authentication header
- ADDED DigestAuthorizationHeaderBuilder class in the Cuemon.AspNetCore.Authentication.Basic namespace that provides a way to fluently represent a HTTP Digest Access Authentication header
- ADDED DigestFields class in the Cuemon.AspNetCore.Authentication.Basic namespace that holds a collection of constants for DigestAuthorizationHeaderBuilder
- ADDED AuthorizationHeader class in the Cuemon.AspNetCore.Authentication namespace that represents the base class from which all implementations of authorization header should derive
- ADDED AuthorizationHeaderBuilder class in the Cuemon.AspNetCore.Authentication namespace that represents the base class from which all implementations of authorization header builders should derive
- ADDED AuthorizationHeaderOptions class in the Cuemon.AspNetCore.Authentication namespace that specifies options related to AuthorizationHeader
- ADDED INonceTracker interface in the Cuemon.AspNetCore.Authentication namespace that represents tracking of server-generated nonce values
- ADDED MemoryNonceTracker class in the Cuemon.AspNetCore.Authentication namespace that provides a default in-memory implementation of the INonceTracker interface
 
# Quality Analysis Actions
- CHANGED DigestAuthorizationHeaderBuilder class in the Cuemon.AspNetCore.Authentication.Digest namespace away from non-compliant code (https://rules.sonarsource.com/csharp/RSPEC-3358)
- FIXED DigestAuthenticationMiddleware class in the Cuemon.AspNetCore.Authentication.Digest namespace to be compliant with https://rules.sonarsource.com/csharp/RSPEC-927
- CHANGED DigestAuthorizationHeader class in the Cuemon.AspNetCore.Authentication.Digest namespace to be compliant with https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1822
- CHANGED HmacAuthorizationHeaderBuilder class in the Cuemon.AspNetCore.Authentication.Hmac namespace to be compliant with https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1834

NuGet packages (2)

Showing the top 2 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 namespace while being an addition to the Microsoft.AspNetCore namespace. Provides an in-memory implementation of a throttling cache for ASP.NET Core.
Cuemon.AspNetCore.App
Provides a convenient set of default API additions for building an ASP.NET Core application.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
6.0.1 44 5/3/2021
6.0.1-rc 55 5/3/2021
6.0.0 75 4/18/2021
6.0.0-rc.23 54 4/18/2021
6.0.0-rc.21 27 4/12/2021
6.0.0-rc.20 42 4/1/2021
6.0.0-rc.18 126 3/22/2021
6.0.0-rc.17 41 3/14/2021
6.0.0-rc.16 69 3/7/2021
6.0.0-rc.15 57 3/4/2021
6.0.0-rc.14 75 3/4/2021
6.0.0-rc.12 83 3/3/2021
6.0.0-rc.6 57 2/28/2021
6.0.0-rc.2 62 2/28/2021
5.0.2019.40 490 2/10/2019
5.0.2019.30 405 1/28/2019
5.0.2018.350 455 12/16/2018
5.0.2018.251 902 9/10/2018
5.0.2018.250 382 9/9/2018
4.3.2018.2200 506 8/8/2018
4.3.2018.2070 418 7/27/2018
4.2.2018.840 518 2/10/2018