30 references to TD
System.IdentityModel (30)
System\IdentityModel\Selectors\SecurityTokenAuthenticator.cs (6)
42
if (
TD
.TokenValidationStartedIsEnabled())
46
TD
.TokenValidationStarted(eventTraceActivity, tokenType, token.Id);
53
if (
TD
.TokenValidationFailureIsEnabled())
57
TD
.TokenValidationFailure(eventTraceActivity, tokenType, token.Id, errorMsg);
63
if (
TD
.TokenValidationSuccessIsEnabled())
67
TD
.TokenValidationSuccess(eventTraceActivity, tokenType, token.Id);
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (4)
147
if (
TD
.GetIssuerNameSuccessIsEnabled())
149
TD
.GetIssuerNameSuccess(EventTraceActivity.GetFromThreadOrCreate(), issuerName, securityToken.Id);
156
if (
TD
.GetIssuerNameFailureIsEnabled())
158
TD
.GetIssuerNameFailure(EventTraceActivity.GetFromThreadOrCreate(), securityToken.Id);
System\IdentityModel\Tokens\SecurityTokenHandler.cs (4)
292
if (
TD
.TokenValidationSuccessIsEnabled())
294
TD
.TokenValidationSuccess(this.EventTraceActivity, token.GetType().ToString(), token.Id);
300
if (
TD
.TokenValidationFailureIsEnabled())
302
TD
.TokenValidationFailure(this.EventTraceActivity, token.GetType().ToString(), token.Id, errorMessage);
TD.Designer.cs (16)
43
resourceManager = new System.Resources.ResourceManager("System.IdentityModel.Diagnostics.Application.TD", typeof(
TD
).Assembly);
68
return (FxTrace.ShouldTraceError &&
TD
.IsEtwEventEnabled(0));
80
if (
TD
.IsEtwEventEnabled(0))
82
TD
.WriteEtwEvent(0, eventTraceActivity, tokenID, payload.HostReference, payload.AppDomainFriendlyName);
92
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(1));
105
if (
TD
.IsEtwEventEnabled(1))
107
TD
.WriteEtwEvent(1, eventTraceActivity, issuerName, tokenID, payload.HostReference, payload.AppDomainFriendlyName);
117
return (FxTrace.ShouldTraceError &&
TD
.IsEtwEventEnabled(2));
131
if (
TD
.IsEtwEventEnabled(2))
133
TD
.WriteEtwEvent(2, eventTraceActivity, tokenType, tokenID, errorMessage, payload.HostReference, payload.AppDomainFriendlyName);
143
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(3));
156
if (
TD
.IsEtwEventEnabled(3))
158
TD
.WriteEtwEvent(3, eventTraceActivity, tokenType, tokenID, payload.HostReference, payload.AppDomainFriendlyName);
168
return (FxTrace.ShouldTraceVerbose &&
TD
.IsEtwEventEnabled(4));
181
if (
TD
.IsEtwEventEnabled(4))
183
TD
.WriteEtwEvent(4, eventTraceActivity, tokenType, tokenID, payload.HostReference, payload.AppDomainFriendlyName);