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