Table of Contents

Namespace Cuemon.Extensions.AspNetCore.Authentication

Assembly: Cuemon.Extensions.AspNetCore.Authentication.dll

Register Basic, Digest, and HMAC authentication middleware in your ASP.NET Core pipeline with a single extension method call. Use this namespace when you need to enable HTTP authentication schemes in your application. Start with UseBasicAuthentication on IApplicationBuilder for basic auth, UseDigestAccessAuthentication for digest auth, or UseHmacAuthentication for HMAC auth.

Availability: .NET 10 and .NET 9

Complements: Cuemon.AspNetCore.Authentication namespace 📘

Extension Members

Type Ext Methods
IApplicationBuilder ⬇️ UseBasicAuthentication, UseDigestAccessAuthentication, UseHmacAuthentication
AuthenticationBuilder ⬇️ AddBasic, AddDigestAccess, AddHmac
IServiceCollection ⬇️ AddInMemoryDigestAuthenticationNonceTracker, AddAuthorizationResponseHandler

Classes

ApplicationBuilderExtensions

Extension methods for the IApplicationBuilder interface.

AuthenticationBuilderExtensions

Extension methods for the AuthenticationBuilder class.

AuthorizationResponseHandler

Provides an opinionated implementation of IAuthorizationMiddlewareResultHandler that is optimized to deliver meaningful responses based on HTTP content negotiation.

AuthorizationResponseHandlerOptions

Specifies options that is related to AuthorizationResponseHandler operations.

ServiceCollectionExtensions

Extension methods for the IServiceCollection interface.