2 writes to _policyEnforcement
System.IdentityModel (2)
System\IdentityModel\SecurityUtils.cs (2)
847
_policyEnforcement
= DefaultPolicy.PolicyEnforcement;
855
_policyEnforcement
= extendedProtectionPolicy.PolicyEnforcement;
7 references to _policyEnforcement
System.IdentityModel (7)
System\IdentityModel\SecurityUtils.cs (7)
860
if (
_policyEnforcement
== PolicyEnforcement.Never)
868
return (_channelBinding != null &&
_policyEnforcement
!= PolicyEnforcement.Never && _protectionScenario != ProtectionScenario.TrustedProxy);
893
get { return
_policyEnforcement
; }
910
if (
_policyEnforcement
== PolicyEnforcement.Never)
929
if (
_policyEnforcement
== PolicyEnforcement.Always)
935
if (
_policyEnforcement
== PolicyEnforcement.WhenSupported)
944
switch (
_policyEnforcement
)