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