Namespace Cuemon.AspNetCore.Mvc.Filters.Headers
Assembly: Cuemon.AspNetCore.Mvc.dll
Validate incoming HTTP headers before ASP.NET Core MVC controller actions execute using action filters for API key validation and user-agent sentinel checks. Use this namespace when you need HTTP header-based security in your API. Start with ApiKeySentinelAttribute or ApiKeySentinelFilter for API key protection, or UserAgentSentinelFilter for user-agent restrictions.
Availability: .NET 10 and .NET 9
Complements: Microsoft.AspNetCore.Mvc.Filters namespace 🔗
Classes
ApiKeySentinelAttribute
Provides a convenient way to protect your API with an ApiKeySentinelFilter.
ApiKeySentinelFilter
A filter that confirms request authorization in the form of an API key sentinel.
UserAgentSentinelFilter
A filter that provides an User-Agent sentinel on action methods.