HttpRouteParameterRedactionMode Enum

Definition

Strategy to decide how HTTP request path parameters are redacted.

C#
public enum HttpRouteParameterRedactionMode
Inheritance
HttpRouteParameterRedactionMode

Fields

Name Value Description
Strict 0

All parameters are considered as sensitive and are required to be explicitly annotated with a data classification.

Loose 1

All parameters are considered as non-sensitive and included as-is by default.

None 2

Route parameters are not redacted regardless of the presence of data classification annotations.

Applies to

Produkt Verzie
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)