NamespaceSystemLibrary.Common.Framework.App.Attributes
Filters access based on api-token
header
Optional: set a custom token header name
Input:
`null`: Allows all`*`: Allows all
- A regex: Value must satisfy the regex pattern- A pipe separated list: Any part is within the Value in a case insensitive check
`text`: Value must match, case sensitiveRemarks
Validating as a regex expression requires any of these characters: ^$*?[
Validate case insensitive with a string.Contains match requires at least one delimiter |
Falls back to normal string equals comparison, case sensitive
ApiTokenFilterAttribute
public class ApiTokenFilterAttribute : BaseApiFilterAttribute, IActionFilter, IAsyncActionFilter, IResultFilter, IAsyncResultFilter, IOrderedFilter, IFilterMetadata
Implements
Inherited Members
Constructors
Remarks
Validating as a regex expression requires any of these characters: ^$*?[
Validate case insensitive with a string.Contains match requires at least one delimiter |
Falls back to normal string equals comparison, case sensitive
Methods
Remarks
Validating as a regex expression requires any of these characters: ^$*?[
Validate case insensitive with a string.Contains match requires at least one delimiter |
Falls back to normal string equals comparison, case sensitive
Overrides
Implements
Extension Methods
}