4 instantiations of SupportingTokenProviderSpecification
System.ServiceModel (4)
System\ServiceModel\Security\SecurityProtocol.cs (4)
229SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.Endorsing, supportingTokenParameters.Endorsing[i]); 254SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.SignedEndorsing, supportingTokenParameters.SignedEndorsing[i]); 279SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.SignedEncrypted, supportingTokenParameters.SignedEncrypted[i]); 304SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.Signed, supportingTokenParameters.Signed[i]);
46 references to SupportingTokenProviderSpecification
System.ServiceModel (46)
System\ServiceModel\Security\SecurityProtocol.cs (46)
32static ReadOnlyCollection<SupportingTokenProviderSpecification> emptyTokenProviders; 34ICollection<SupportingTokenProviderSpecification> channelSupportingTokenProviderSpecification; 35Dictionary<string, ICollection<SupportingTokenProviderSpecification>> scopedSupportingTokenProviderSpecification; 36Dictionary<string, Collection<SupportingTokenProviderSpecification>> mergedSupportingTokenProvidersMap; 71public ICollection<SupportingTokenProviderSpecification> ChannelSupportingTokenProviderSpecification 79public Dictionary<string, ICollection<SupportingTokenProviderSpecification>> ScopedSupportingTokenProviderSpecification 87static ReadOnlyCollection<SupportingTokenProviderSpecification> EmptyTokenProviders 93emptyTokenProviders = new ReadOnlyCollection<SupportingTokenProviderSpecification>(new List<SupportingTokenProviderSpecification>()); 163internal IList<SupportingTokenProviderSpecification> GetSupportingTokenProviders(string action) 178return (this.channelSupportingTokenProviderSpecification == EmptyTokenProviders) ? null : (IList<SupportingTokenProviderSpecification>)this.channelSupportingTokenProviderSpecification; 213void AddSupportingTokenProviders(SupportingTokenParameters supportingTokenParameters, bool isOptional, IList<SupportingTokenProviderSpecification> providerSpecList) 229SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.Endorsing, supportingTokenParameters.Endorsing[i]); 254SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.SignedEndorsing, supportingTokenParameters.SignedEndorsing[i]); 279SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.SignedEncrypted, supportingTokenParameters.SignedEncrypted[i]); 304SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.Signed, supportingTokenParameters.Signed[i]); 327this.mergedSupportingTokenProvidersMap = new Dictionary<string, Collection<SupportingTokenProviderSpecification>>(); 330ICollection<SupportingTokenProviderSpecification> scopedProviders = this.ScopedSupportingTokenProviderSpecification[action]; 335Collection<SupportingTokenProviderSpecification> mergedProviders = new Collection<SupportingTokenProviderSpecification>(); 336foreach (SupportingTokenProviderSpecification spec in this.channelSupportingTokenProviderSpecification) 340foreach (SupportingTokenProviderSpecification spec in scopedProviders) 377this.channelSupportingTokenProviderSpecification = new Collection<SupportingTokenProviderSpecification>(); 378this.scopedSupportingTokenProviderSpecification = new Dictionary<string, ICollection<SupportingTokenProviderSpecification>>(); 380AddSupportingTokenProviders(this.factory.SecurityBindingElement.EndpointSupportingTokenParameters, false, (IList<SupportingTokenProviderSpecification>)this.channelSupportingTokenProviderSpecification); 381AddSupportingTokenProviders(this.factory.SecurityBindingElement.OptionalEndpointSupportingTokenParameters, true, (IList<SupportingTokenProviderSpecification>)this.channelSupportingTokenProviderSpecification); 384Collection<SupportingTokenProviderSpecification> providerSpecList = new Collection<SupportingTokenProviderSpecification>(); 390Collection<SupportingTokenProviderSpecification> providerSpecList; 391ICollection<SupportingTokenProviderSpecification> existingList; 394providerSpecList = ((Collection<SupportingTokenProviderSpecification>)existingList); 398providerSpecList = new Collection<SupportingTokenProviderSpecification>(); 413foreach (SupportingTokenProviderSpecification tokenProviderSpec in this.channelSupportingTokenProviderSpecification) 425new ReadOnlyCollection<SupportingTokenProviderSpecification>((Collection<SupportingTokenProviderSpecification>)this.channelSupportingTokenProviderSpecification); 449foreach (SupportingTokenProviderSpecification spec in this.channelSupportingTokenProviderSpecification) 455ICollection<SupportingTokenProviderSpecification> supportingProviders = this.scopedSupportingTokenProviderSpecification[action]; 456foreach (SupportingTokenProviderSpecification spec in supportingProviders) 469foreach (SupportingTokenProviderSpecification spec in this.channelSupportingTokenProviderSpecification) 475ICollection<SupportingTokenProviderSpecification> supportingProviders = this.scopedSupportingTokenProviderSpecification[action]; 476foreach (SupportingTokenProviderSpecification spec in supportingProviders) 586IList<SupportingTokenProviderSpecification> supportingTokenProviders = this.GetSupportingTokenProviders(message.Headers.Action); 598SupportingTokenProviderSpecification spec = supportingTokenProviders[i]; 861IList<SupportingTokenProviderSpecification> supportingTokenProviders; 912SupportingTokenProviderSpecification spec = supportingTokenProviders[this.currentTokenProviderIndex]; 930SupportingTokenProviderSpecification spec = supportingTokenProviders[this.currentTokenProviderIndex];