14 references to SecurityTokenAttachmentMode
System.ServiceModel (14)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (8)
659
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.SupportingTokenNotProvided, spec.TokenParameters, spec.
SecurityTokenAttachmentMode
)));
661
switch (spec.
SecurityTokenAttachmentMode
)
709
Fx.Assert("Unknown token attachment mode " + spec.
SecurityTokenAttachmentMode
);
710
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.GetString(SR.UnknownTokenAttachmentMode, spec.
SecurityTokenAttachmentMode
)));
823
switch (spec.
SecurityTokenAttachmentMode
)
849
(spec.
SecurityTokenAttachmentMode
== SecurityTokenAttachmentMode.Endorsing || spec.
SecurityTokenAttachmentMode
== SecurityTokenAttachmentMode.SignedEndorsing))
1706
SecurityTokenAttachmentModeHelper.Categorize(supportingTokenSpec.
SecurityTokenAttachmentMode
,
System\ServiceModel\Security\SecurityProtocolFactory.cs (6)
843
if (spec.
SecurityTokenAttachmentMode
== SecurityTokenAttachmentMode.Endorsing ||
844
spec.
SecurityTokenAttachmentMode
== SecurityTokenAttachmentMode.SignedEndorsing)
851
SecurityTokenAttachmentMode mode = spec.
SecurityTokenAttachmentMode
;
1035
if (tokenAuthenticatorSpec.
SecurityTokenAttachmentMode
== SecurityTokenAttachmentMode.Endorsing
1036
|| tokenAuthenticatorSpec.
SecurityTokenAttachmentMode
== SecurityTokenAttachmentMode.SignedEndorsing)
1043
SecurityTokenAttachmentMode mode = tokenAuthenticatorSpec.
SecurityTokenAttachmentMode
;