ServiceModelSecurityTokenRequirement.MessageAuthenticationAuditLevelProperty Property

Definition

Gets the key for the token requirement property whose value is the audit level to use when recording the results of the authentication (service only).

C#
public static string MessageAuthenticationAuditLevelProperty { get; }

Property Value

Gets the key for the token requirement property whose value is the audit level to use when recording the results of the authentication.

Remarks

The value that corresponds to this key is of type AuditLevel, which is an enumeration with the following members:

  • Failure: Only failed security-related events are recorded.

  • None: No events are recorded.

  • Success: Only successful security-related events are recorded.

  • SuccessOrFailure: Both failed and successful security-related events are recorded.

Applies to

Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also