6 instantiations of SupportingTokenSpecification
System.ServiceModel (6)
System\ServiceModel\Security\SecurityProtocol.cs (3)
511
security.IncomingSupportingTokens.Add(new
SupportingTokenSpecification
(tokens[i], tokenPoliciesMapping[tokens[i]], attachmentMode));
611
supportingTokens.Add(new
SupportingTokenSpecification
(supportingToken, EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance, spec.SecurityTokenAttachmentMode, spec.TokenParameters));
920
this.supportingTokens.Add(new
SupportingTokenSpecification
(spec.TokenProvider.EndGetToken(result), EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance, spec.SecurityTokenAttachmentMode, spec.TokenParameters));
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
776
supportingTokenProperty.OutgoingSupportingTokens.Add(new
SupportingTokenSpecification
(currentSessionToken, EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance, SecurityTokenAttachmentMode.Endorsing, this.IssuedSecurityTokenParameters));
System\ServiceModel\Security\SecurityUtils.cs (1)
1435
messageProperty.IncomingSupportingTokens[i] = new
SupportingTokenSpecification
(new UserNameSecurityToken(token.UserName, null, token.Id), supportingTokenSpecification.SecurityTokenPolicies, supportingTokenSpecification.SecurityTokenAttachmentMode, supportingTokenSpecification.SecurityTokenParameters);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
918
SupportingTokenSpecification rsaSpec = new
SupportingTokenSpecification
(negotiationState.RsaSecurityToken, EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance, SecurityTokenAttachmentMode.Endorsing, rsaParameters);
39 references to SupportingTokenSpecification
System.ServiceModel (39)
System\ServiceModel\OperationContext.cs (2)
323
public ICollection<
SupportingTokenSpecification
> SupportingTokens
330
return new System.Collections.ObjectModel.ReadOnlyCollection<
SupportingTokenSpecification
>(
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (4)
150
IList<
SupportingTokenSpecification
> supportingTokens;
189
IList<
SupportingTokenSpecification
> supportingTokens;
196
IList<
SupportingTokenSpecification
> supportingTokens, SecurityProtocolCorrelationState correlationState)
321
out SecurityToken encryptingToken, out SecurityToken signingToken, out IList<
SupportingTokenSpecification
> supportingTokens, out SecurityProtocolCorrelationState newCorrelationState)
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (3)
164
IList<
SupportingTokenSpecification
> supportingTokens;
198
IList<
SupportingTokenSpecification
> supportingTokens;
217
IList<
SupportingTokenSpecification
> supportingTokens, SecurityProtocolCorrelationState correlationState)
System\ServiceModel\Security\InitiatorSessionSymmetricTransportSecurityProtocol.cs (3)
128
IList<
SupportingTokenSpecification
> supportingTokens)
147
IList<
SupportingTokenSpecification
> supportingTokens;
158
IList<
SupportingTokenSpecification
> supportingTokens;
System\ServiceModel\Security\MessageSecurityProtocol.cs (1)
308
protected SendSecurityHeader ConfigureSendSecurityHeader(Message message, string actor, IList<
SupportingTokenSpecification
> supportingTokens, SecurityProtocolCorrelationState correlationState)
System\ServiceModel\Security\SecurityMessageProperty.cs (6)
20
Collection<
SupportingTokenSpecification
> outgoingSupportingTokens;
21
Collection<
SupportingTokenSpecification
> incomingSupportingTokens;
142
public Collection<
SupportingTokenSpecification
> IncomingSupportingTokens
149
this.incomingSupportingTokens = new Collection<
SupportingTokenSpecification
>();
155
public Collection<
SupportingTokenSpecification
> OutgoingSupportingTokens
161
this.outgoingSupportingTokens = new Collection<
SupportingTokenSpecification
>();
System\ServiceModel\Security\SecurityProtocol.cs (9)
552
internal void AddMessageSupportingTokens(Message message, ref IList<
SupportingTokenSpecification
> supportingTokens)
559
supportingTokens = new Collection<
SupportingTokenSpecification
>();
563
SupportingTokenSpecification
spec = supportingTokensProperty.OutgoingSupportingTokens[i];
573
internal bool TryGetSupportingTokens(SecurityProtocolFactory factory, EndpointAddress target, Uri via, Message message, TimeSpan timeout, bool isBlockingCall, out IList<
SupportingTokenSpecification
> supportingTokens)
595
supportingTokens = new Collection<
SupportingTokenSpecification
>();
675
protected void AddSupportingTokens(SendSecurityHeader securityHeader, IList<
SupportingTokenSpecification
> supportingTokens)
859
IList<
SupportingTokenSpecification
> supportingTokens;
872
protected IList<
SupportingTokenSpecification
> SupportingTokens
960
this.supportingTokens = new Collection<
SupportingTokenSpecification
>();
System\ServiceModel\Security\SecurityUtils.cs (1)
1431
SupportingTokenSpecification
supportingTokenSpecification = messageProperty.IncomingSupportingTokens[i];
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (4)
160
IList<
SupportingTokenSpecification
> supportingTokens;
185
IList<
SupportingTokenSpecification
> supportingTokens;
197
IList<
SupportingTokenSpecification
> supportingTokens,
285
bool TryGetTokenSynchronouslyForOutgoingSecurity(Message message, SecurityProtocolCorrelationState correlationState, bool isBlockingCall, TimeSpan timeout, out SecurityToken token, out SecurityTokenParameters tokenParameters, out SecurityToken prerequisiteWrappingToken, out IList<
SupportingTokenSpecification
> supportingTokens, out SecurityProtocolCorrelationState newCorrelationState)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
918
SupportingTokenSpecification
rsaSpec = new SupportingTokenSpecification(negotiationState.RsaSecurityToken, EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance, SecurityTokenAttachmentMode.Endorsing, rsaParameters);
System\ServiceModel\Security\TransportSecurityProtocol.cs (3)
53
IList<
SupportingTokenSpecification
> supportingTokens;
68
IList<
SupportingTokenSpecification
> supportingTokens)
112
IList<
SupportingTokenSpecification
> supportingTokens;
System\ServiceModel\Security\WSTrustServiceContract.cs (1)
108
foreach (
SupportingTokenSpecification
tokenSpec in msgProperty.IncomingSupportingTokens)
System\ServiceModel\ServiceAuthenticationManager.cs (1)
126
foreach (
SupportingTokenSpecification
tokenSpecification in message.Properties.Security.IncomingSupportingTokens)