System\ServiceModel\Description\ConfigLoader.cs (5)
169serviceEndpoint.Address = new EndpointAddress(channelElement.Address, LoadIdentity(channelElement.Identity), channelElement.Headers.Headers);
375return new EndpointAddress(element.Address, LoadIdentity(element.Identity), element.Headers.Headers);
505serviceEndpoint = new ServiceEndpoint(contract, binding, new EndpointAddress(via, LoadIdentity(endpointElement.Identity), endpointElement.Headers.Headers));
760endpoint.Address = new EndpointAddress(channelEndpointElementCopy.Address, LoadIdentity(channelEndpointElementCopy.Identity), channelEndpointElementCopy.Headers.Headers);
985endpoint.Address = new EndpointAddress(via, LoadIdentity(serviceEndpointElement.Identity), serviceEndpointElement.Headers.Headers);
System\ServiceModel\ChannelFactory.cs (19)
166internal EndpointAddress CreateEndpointAddress(ServiceEndpoint endpoint)
251protected void InitializeEndpoint(string configurationName, EndpointAddress address)
278internal void InitializeEndpoint(string configurationName, EndpointAddress address, System.Configuration.Configuration configuration)
319protected void InitializeEndpoint(Binding binding, EndpointAddress address)
565public ChannelFactory(string endpointConfigurationName, EndpointAddress remoteAddress)
585: this(binding, (EndpointAddress)null)
595public ChannelFactory(Binding binding, EndpointAddress remoteAddress)
677public TChannel CreateChannel(EndpointAddress address)
687public virtual TChannel CreateChannel(EndpointAddress address, Uri via)
734public TChannel CreateChannelWithIssuedToken(SecurityToken issuedToken, EndpointAddress address)
743public TChannel CreateChannelWithIssuedToken(SecurityToken issuedToken, EndpointAddress address, Uri via)
761public TChannel CreateChannelWithActAsToken(SecurityToken actAsToken, EndpointAddress address)
770public TChannel CreateChannelWithActAsToken(SecurityToken actAsToken, EndpointAddress address, Uri via)
788public TChannel CreateChannelWithOnBehalfOfToken(SecurityToken onBehalfOf, EndpointAddress address)
797public TChannel CreateChannelWithOnBehalfOfToken(SecurityToken onBehalfOf, EndpointAddress address, Uri via)
806internal UChannel CreateChannel<UChannel>(EndpointAddress address)
812internal UChannel CreateChannel<UChannel>(EndpointAddress address, Uri via)
886public static TChannel CreateChannel(Binding binding, EndpointAddress endpointAddress)
900public static TChannel CreateChannel(Binding binding, EndpointAddress endpointAddress, Uri via)
System\ServiceModel\Channels\Addressing.cs (27)
165EndpointAddress from;
168FromHeader(EndpointAddress from, AddressingVersion version)
174public EndpointAddress From
189public static FromHeader Create(EndpointAddress from, AddressingVersion addressingVersion)
206EndpointAddress from = ReadHeaderValue(reader, version);
218public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion)
221return EndpointAddress.ReadFrom(addressingVersion, reader);
230public FullFromHeader(EndpointAddress from, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
257EndpointAddress faultTo;
260FaultToHeader(EndpointAddress faultTo, AddressingVersion version)
266public EndpointAddress FaultTo
286public static FaultToHeader Create(EndpointAddress faultTo, AddressingVersion addressingVersion)
298EndpointAddress faultTo = ReadHeaderValue(reader, version);
310public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
313return EndpointAddress.ReadFrom(version, reader);
322public FullFaultToHeader(EndpointAddress faultTo, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
549EndpointAddress replyTo;
554ReplyToHeader(EndpointAddress replyTo, AddressingVersion version)
560public EndpointAddress ReplyTo
580anonymousReplyToHeader10 = new ReplyToHeader(EndpointAddress.AnonymousAddress, AddressingVersion.WSAddressing10);
590anonymousReplyToHeader200408 = new ReplyToHeader(EndpointAddress.AnonymousAddress, AddressingVersion.WSAddressingAugust2004);
595public static ReplyToHeader Create(EndpointAddress replyTo, AddressingVersion addressingVersion)
612EndpointAddress replyTo = ReadHeaderValue(reader, version);
616if ((object)replyTo == (object)EndpointAddress.AnonymousAddress)
631public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
634return EndpointAddress.ReadFrom(version, reader);
643public FullReplyToHeader(EndpointAddress replyTo, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (14)
19EndpointAddress to;
22protected ClientReliableChannelBinder(EndpointAddress to, Uri via, IChannelFactory<TChannel> factory,
125public static IClientReliableChannelBinder CreateBinder(EndpointAddress to, Uri via,
322public DuplexClientReliableChannelBinder(EndpointAddress to, Uri via,
331public override EndpointAddress LocalAddress
343public override EndpointAddress RemoteAddress
412public DuplexClientReliableChannelBinder(EndpointAddress to, Uri via,
443public DuplexSessionClientReliableChannelBinder(EndpointAddress to, Uri via,
500public RequestClientReliableChannelBinder(EndpointAddress to, Uri via,
555public override EndpointAddress LocalAddress
559return EndpointAddress.AnonymousAddress;
563public override EndpointAddress RemoteAddress
670public RequestClientReliableChannelBinder(EndpointAddress to, Uri via,
701public RequestSessionClientReliableChannelBinder(EndpointAddress to, Uri via,
System\ServiceModel\Channels\FramingChannels.cs (10)
26EndpointAddress localAddress, Uri localVia, EndpointAddress remoteAddresss, Uri via, bool exposeConnectionProperty)
33EndpointAddress remoteAddresss, Uri via, bool exposeConnectionProperty)
34: this(factory, settings, EndpointAddress.AnonymousAddress, settings.MessageVersion.Addressing.AnonymousUri,
41EndpointAddress localAddress, Uri localVia, bool exposeConnectionProperty)
43EndpointAddress.AnonymousAddress, channelListener.MessageVersion.Addressing.AnonymousUri, exposeConnectionProperty)
191EndpointAddress remoteAddresss, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool,
989public static IAsyncResult BeginInitiateUpgrade(IDefaultCommunicationTimeouts timeouts, EndpointAddress remoteAddress,
1203EndpointAddress remoteAddress;
1208public InitiateUpgradeAsyncResult(IDefaultCommunicationTimeouts timeouts, EndpointAddress remoteAddress,
System\ServiceModel\Channels\HttpChannelFactory.cs (21)
394EndpointAddress target, Uri via, ChannelParameterCollection channelParameters)
428protected virtual void ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
438protected override TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via)
440EndpointAddress httpRemoteAddress = remoteAddress != null && WebSocketHelper.IsWebSocketUri(remoteAddress.Uri) ?
448protected virtual TChannel OnCreateChannelCore(EndpointAddress remoteAddress, Uri via)
731HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, NetworkCredential credential,
814void ApplyManualAddressing(ref EndpointAddress to, ref Uri via, Message message)
856void CreateAndOpenTokenProvidersCore(EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout, out SecurityTokenProviderContainer tokenProvider, out SecurityTokenProviderContainer proxyTokenProvider)
870internal void CreateAndOpenTokenProviders(EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout, out SecurityTokenProviderContainer tokenProvider, out SecurityTokenProviderContainer proxyTokenProvider)
883internal HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, SecurityTokenProviderContainer tokenProvider,
895internal static bool MapIdentity(EndpointAddress target, AuthenticationSchemes authenticationScheme)
905bool MapIdentity(EndpointAddress target)
920public HttpRequestChannel(HttpChannelFactory<IRequestChannel> factory, EndpointAddress to, Uri via, bool manualAddressing)
1107public virtual HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper)
1112protected HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper)
1147EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
1153EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
1177EndpointAddress to;
1403EndpointAddress to;
1929EndpointAddress to;
1935EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper,
System\ServiceModel\Channels\HttpsChannelFactory.cs (11)
96protected override void ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
127protected override TChannel OnCreateChannelCore(EndpointAddress address, Uri via)
185internal SecurityTokenProvider CreateAndOpenCertificateTokenProvider(EndpointAddress target, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout)
207EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, ref TimeoutHelper timeoutHelper)
239void AddServerCertMappingOrSetRemoteCertificateValidationCallback(HttpWebRequest request, EndpointAddress to)
287public HttpsRequestChannel(HttpsChannelFactory<IRequestChannel> factory, EndpointAddress to, Uri via, bool manualAddressing)
356public IAsyncResult BeginBaseGetWebRequest(EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
366public override HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper)
374public override IAsyncResult BeginGetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
405EndpointAddress to;
412public GetWebRequestAsyncResult(HttpsRequestChannel httpsChannel, EndpointAddress to, Uri via,
System\ServiceModel\Channels\InternalDuplexChannelFactory.cs (7)
32bool CreateUniqueLocalAddress(out EndpointAddress address, out int priority)
51protected override IDuplexChannel OnCreateChannel(EndpointAddress address, Uri via)
53EndpointAddress localAddress;
75public IDuplexChannel CreateChannel(EndpointAddress address, Uri via, MessageFilter filter, int priority, bool usesUniqueHeader)
80public IDuplexChannel CreateChannel(EndpointAddress remoteAddress, Uri via, EndpointAddress localAddress, MessageFilter filter, int priority, bool usesUniqueHeader)
193public ClientCompositeDuplexChannel(ChannelManagerBase channelManager, IInputChannel innerInputChannel, IChannelListener<IInputChannel> innerInputListener, EndpointAddress localAddress, IOutputChannel innerOutputChannel, bool usesUniqueHeader)
System\ServiceModel\Channels\PeerMaintainer.cs (7)
47void Initialize(IPeerMaintainer maintainer, PeerNodeConfig config, int wantedConnectedNeighbors, Dictionary<EndpointAddress, Referral> referralCache);
61Dictionary<EndpointAddress, Referral> referralCache;
83referralCache = new Dictionary<EndpointAddress, Referral>();
126EndpointAddress key = referral.Address.EndpointAddress;
379connectAlgorithm.Initialize(this, config, neighborManager.ConnectedNeighborCount + 1, new Dictionary<EndpointAddress, Referral>());
473EndpointAddress key = neighbor.ListenAddress.EndpointAddress;
615EndpointAddress key = address.EndpointAddress;
System\ServiceModel\Channels\SecurityChannelFactory.cs (11)
195protected override TChannel OnCreateChannel(EndpointAddress address, Uri via)
314EndpointAddress to;
320UChannel innerChannel, EndpointAddress to, Uri via)
334public EndpointAddress RemoteAddress
542public SecurityOutputChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IOutputChannel innerChannel, EndpointAddress to, Uri via)
581public SecurityOutputSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IOutputSessionChannel innerChannel, EndpointAddress to, Uri via)
597public SecurityRequestChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IRequestChannel innerChannel, EndpointAddress to, Uri via)
690public SecurityRequestSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IRequestSessionChannel innerChannel, EndpointAddress to, Uri via)
706public SecurityDuplexChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IDuplexChannel innerChannel, EndpointAddress to, Uri via)
716public EndpointAddress LocalAddress
845public SecurityDuplexSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IDuplexSessionChannel innerChannel, EndpointAddress to, Uri via)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (33)
21EndpointAddress cachedLocalAddress;
24EndpointAddress remoteAddress;
27EndpointAddress remoteAddress, MessageFilter filter, int priority, MaskingMode maskingMode,
36protected ServerReliableChannelBinder(TChannel channel, EndpointAddress cachedLocalAddress,
37EndpointAddress remoteAddress, MaskingMode maskingMode,
54public override EndpointAddress LocalAddress
85public override EndpointAddress RemoteAddress
185EndpointAddress remoteAddress, MessageFilter filter, int priority,
220EndpointAddress cachedLocalAddress, EndpointAddress remoteAddress,
310protected abstract EndpointAddress GetInnerChannelLocalAddress();
666EndpointAddress remoteAddress, MessageFilter filter, int priority,
675EndpointAddress cachedLocalAddress, EndpointAddress remoteAddress,
691protected override EndpointAddress GetInnerChannelLocalAddress()
694EndpointAddress localAddress = (channel == null) ? null : channel.LocalAddress;
772EndpointAddress remoteAddress, MessageFilter filter, int priority,
780EndpointAddress cachedLocalAddress, EndpointAddress remoteAddress,
814EndpointAddress remoteAddress, MessageFilter filter, int priority,
823EndpointAddress cachedLocalAddress, EndpointAddress remoteAddress,
879EndpointAddress remoteAddress, MessageFilter filter, int priority,
888EndpointAddress cachedLocalAddress, EndpointAddress remoteAddress,
904protected override EndpointAddress GetInnerChannelLocalAddress()
907EndpointAddress localAddress = (channel == null) ? null : channel.LocalAddress;
966EndpointAddress remoteAddress, MessageFilter filter, int priority,
974EndpointAddress cachedLocalAddress, EndpointAddress remoteAddress,
1004EndpointAddress remoteAddress, MessageFilter filter, int priority,
1013EndpointAddress cachedLocalAddress, EndpointAddress remoteAddress,
System\ServiceModel\Channels\ServiceChannelFactory.cs (12)
326public virtual ServiceChannel CreateServiceChannel(EndpointAddress address, Uri via)
343public TChannel CreateChannel<TChannel>(EndpointAddress address)
348public TChannel CreateChannel<TChannel>(EndpointAddress address, Uri via)
361public object CreateChannel(Type channelType, EndpointAddress address)
366public object CreateChannel(Type channelType, EndpointAddress address, Uri via)
423protected abstract IChannelBinder CreateInnerChannelBinder(EndpointAddress address, Uri via);
505protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
524protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
544protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
565protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
602protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
628protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (10)
46public static bool AddIdentityMapping(Uri via, EndpointAddress target)
91public static void RemoveIdentityMapping(Uri via, EndpointAddress target, bool validateState)
134public static void AddServerCertMapping(HttpWebRequest request, EndpointAddress to)
353static SecurityTokenRequirement CreateSspiTokenRequirement(EndpointAddress target, Uri via, string transportScheme)
365SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme, ChannelParameterCollection channelParameters)
385SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme,
405SecurityTokenManager tokenManager, EndpointAddress target, Uri via,
440SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, ChannelParameterCollection channelParameters)
507EndpointAddress target, Uri via, string transportScheme)
519SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme,
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (5)
40public WebSocketTransportDuplexSessionChannel(HttpChannelListener channelListener, EndpointAddress localAddress, Uri localVia, ConnectionBufferPool bufferPool)
41: base(channelListener, channelListener, localAddress, localVia, EndpointAddress.AnonymousAddress, channelListener.MessageVersion.Addressing.AnonymousUri)
51public WebSocketTransportDuplexSessionChannel(HttpChannelFactory<IDuplexSessionChannel> channelFactory, EndpointAddress remoteAddresss, Uri via, ConnectionBufferPool bufferPool)
52: base(channelFactory, channelFactory, EndpointAddress.AnonymousAddress, channelFactory.MessageVersion.Addressing.AnonymousUri, remoteAddresss, via)
491EndpointAddress localAddress;
System\ServiceModel\Description\ConfigLoader.cs (7)
373internal static EndpointAddress LoadEndpointAddress(EndpointAddressElementBase element)
584internal static ServiceEndpoint LookupEndpoint(string configurationName, EndpointAddress address, ContractDescription contract)
592internal static ServiceEndpoint LookupEndpoint(string configurationName, EndpointAddress address, ContractDescription contract, ContextInformation configurationContext)
610static ServiceEndpoint LookupEndpoint(ChannelEndpointElement channelEndpointElement, ContextInformation context, EndpointAddress address, ContractDescription contract)
725EndpointAddress address, ContextInformation context, ContractDescription contract, out ServiceEndpoint endpoint)
1273static bool IsChannelElementMatch(ChannelEndpointElement channelElement, ContractDescription contract, EndpointAddress address, bool useChannelElementKind, out ServiceEndpoint serviceEndpoint)
1318EndpointAddress address, bool wildcard, bool useChannelElementKind, out ServiceEndpoint serviceEndpoint)
System\ServiceModel\Description\MetadataExchangeClient.cs (15)
39EndpointAddress ctorEndpointAddress = null;
66public MetadataExchangeClient(EndpointAddress address)
276public IAsyncResult BeginGetMetadata(EndpointAddress address, AsyncCallback callback, object asyncState)
317public Task<MetadataSet> GetMetadataAsync(EndpointAddress address)
327public Task<MetadataSet> GetMetadataAsync(EndpointAddress address, Uri via)
367public MetadataSet GetMetadata(EndpointAddress address)
378public MetadataSet GetMetadata(EndpointAddress address, Uri via)
427protected internal virtual ChannelFactory<IMetadataExchange> GetChannelFactory(EndpointAddress metadataAddress, string dialect, string identifier)
457internal static void TraceSendRequest(EndpointAddress address)
543EndpointAddress address = ((MetadataReference)section.Metadata).Address;
953EndpointAddress address;
956public MetadataReferenceRetriever(EndpointAddress address, MetadataExchangeClient resolver)
961public MetadataReferenceRetriever(EndpointAddress address, Uri via, MetadataExchangeClient resolver)
966public MetadataReferenceRetriever(EndpointAddress address, MetadataExchangeClient resolver, string dialect, string identifier)
971MetadataReferenceRetriever(EndpointAddress address, Uri via, MetadataExchangeClient resolver, string dialect, string identifier)
System\ServiceModel\Description\MetadataResolver.cs (8)
18public static ServiceEndpointCollection Resolve(Type contract, EndpointAddress address)
27public static ServiceEndpointCollection Resolve(IEnumerable<ContractDescription> contracts, EndpointAddress address)
31public static ServiceEndpointCollection Resolve(IEnumerable<ContractDescription> contracts, EndpointAddress address, MetadataExchangeClient client)
86public static IAsyncResult BeginResolve(Type contract, EndpointAddress address, AsyncCallback callback, object asyncState)
95public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, EndpointAddress address, AsyncCallback callback, object asyncState)
99public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, EndpointAddress address, MetadataExchangeClient client, AsyncCallback callback, object asyncState)
160EndpointAddress address;
165internal AsyncMetadataResolverHelper(EndpointAddress address, MetadataExchangeClientMode mode, MetadataExchangeClient client, IEnumerable<ContractDescription> knownContracts, AsyncCallback callback, object asyncState)
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (43)
47internal static void TraceUsingCachedServiceToken<T>(IssuanceTokenProviderBase<T> provider, SecurityToken serviceToken, EndpointAddress target)
56internal static void TraceBeginSecurityNegotiation<T>(IssuanceTokenProviderBase<T> provider, EndpointAddress target)
71internal static void TraceEndSecurityNegotiation<T>(IssuanceTokenProviderBase<T> provider, SecurityToken serviceToken, EndpointAddress target)
85internal static void TraceRedirectApplied<T>(IssuanceTokenProviderBase<T> provider, EndpointAddress newTarget, EndpointAddress oldTarget)
201internal static void TraceIdentityDeterminationSuccess(EndpointAddress epr, EndpointIdentity identity, Type identityVerifier)
207internal static void TraceIdentityDeterminationFailure(EndpointAddress epr, Type identityVerifier)
213internal static void TraceIdentityHostNameNormalizationFailure(EndpointAddress epr, Type identityVerifier, Exception e)
326internal static void TraceSessionRedirectApplied(EndpointAddress previousTarget, EndpointAddress newTarget, GenericXmlSecurityToken sessionToken)
332internal static void TraceCloseMessageSent(SecurityToken sessionToken, EndpointAddress remoteTarget)
338internal static void TraceCloseResponseMessageSent(SecurityToken sessionToken, EndpointAddress remoteTarget)
344internal static void TraceCloseMessageReceived(SecurityToken sessionToken, EndpointAddress remoteTarget)
350internal static void TraceSessionKeyRenewalFault(SecurityToken sessionToken, EndpointAddress remoteTarget)
356internal static void TraceRemoteSessionAbortedFault(SecurityToken sessionToken, EndpointAddress remoteTarget)
362internal static void TraceCloseResponseReceived(SecurityToken sessionToken, EndpointAddress remoteTarget)
368internal static void TracePreviousSessionKeyDiscarded(SecurityToken previousSessionToken, SecurityToken currentSessionToken, EndpointAddress remoteAddress)
374internal static void TraceSessionKeyRenewed(SecurityToken newSessionToken, SecurityToken currentSessionToken, EndpointAddress remoteAddress)
485internal static void TraceBeginSecuritySessionOperation(SecuritySessionOperation operation, EndpointAddress target, SecurityToken currentToken)
491internal static void TraceSecuritySessionOperationSuccess(SecuritySessionOperation operation, EndpointAddress target, SecurityToken currentToken, SecurityToken issuedToken)
497internal static void TraceSecuritySessionOperationFailure(SecuritySessionOperation operation, EndpointAddress target, SecurityToken currentToken, Exception e)
661EndpointAddress target;
664public SessionRequestorTraceRecord(SecuritySessionOperation operation, SecurityToken currentToken, SecurityToken issuedToken, EndpointAddress target)
673public SessionRequestorTraceRecord(SecuritySessionOperation operation, SecurityToken currentToken, Exception e, EndpointAddress target)
782EndpointAddress remoteAddress;
784public ClientSessionTraceRecord(SecurityToken currentSessionToken, SecurityToken previousSessionToken, EndpointAddress remoteAddress)
817EndpointAddress previousTarget;
818EndpointAddress newTarget;
821public SessionRedirectAppliedTraceRecord(EndpointAddress previousTarget, EndpointAddress newTarget, GenericXmlSecurityToken sessionToken)
898EndpointAddress replyTo = this.message.Headers.ReplyTo;
1147EndpointAddress epr;
1150public IdentityDeterminationSuccessTraceRecord(EndpointAddress epr, EndpointIdentity identity, Type identityVerifier)
1177EndpointAddress epr;
1179public IdentityDeterminationFailureTraceRecord(EndpointAddress epr, Type identityVerifier)
1203EndpointAddress epr;
1205public IdentityHostNameNormalizationFailureTraceRecord(EndpointAddress epr, Type identityVerifier, Exception e)
1233EndpointAddress target;
1234EndpointAddress newTarget;
1242public IssuanceProviderTraceRecord(IssuanceTokenProviderBase<T> provider, EndpointAddress target)
1246public IssuanceProviderTraceRecord(IssuanceTokenProviderBase<T> provider, SecurityToken serviceToken, EndpointAddress target)
1254public IssuanceProviderTraceRecord(IssuanceTokenProviderBase<T> provider, EndpointAddress newTarget, EndpointAddress oldTarget)
System\ServiceModel\DuplexChannelFactory.cs (15)
29public DuplexChannelFactory(Type callbackInstanceType, Binding binding, EndpointAddress remoteAddress)
35public DuplexChannelFactory(Type callbackInstanceType, string endpointConfigurationName, EndpointAddress remoteAddress)
52public DuplexChannelFactory(InstanceContext callbackInstance, Binding binding, EndpointAddress remoteAddress)
58public DuplexChannelFactory(InstanceContext callbackInstance, string endpointConfigurationName, EndpointAddress remoteAddress)
84this.InitializeEndpoint((string)null, (EndpointAddress)null);
95public DuplexChannelFactory(object callbackObject, string endpointConfigurationName, EndpointAddress remoteAddress)
121: this(callbackObject, binding, (EndpointAddress)null)
131public DuplexChannelFactory(object callbackObject, Binding binding, EndpointAddress remoteAddress)
201public TChannel CreateChannel(InstanceContext callbackInstance, EndpointAddress address)
211public override TChannel CreateChannel(EndpointAddress address, Uri via)
216public virtual TChannel CreateChannel(InstanceContext callbackInstance, EndpointAddress address, Uri via)
277public static TChannel CreateChannel(object callbackObject, Binding binding, EndpointAddress endpointAddress)
282public static TChannel CreateChannel(object callbackObject, Binding binding, EndpointAddress endpointAddress, Uri via)
295public static TChannel CreateChannel(InstanceContext callbackInstance, Binding binding, EndpointAddress endpointAddress)
303public static TChannel CreateChannel(InstanceContext callbackInstance, Binding binding, EndpointAddress endpointAddress, Uri via)
System\ServiceModel\EndpointAddress.cs (33)
19static EndpointAddress anonymousAddress;
129internal EndpointAddress(Uri newUri, EndpointAddress oldEndpointAddress)
220internal static EndpointAddress AnonymousAddress
423internal bool EndpointEquals(EndpointAddress endpointAddress)
475EndpointAddress address = obj as EndpointAddress;
539public static EndpointAddress ReadFrom(XmlDictionaryReader reader)
545internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, out AddressingVersion version)
572EndpointAddress ea = ReadFromDriver(version, reader);
577public static EndpointAddress ReadFrom(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns)
583internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns, out AddressingVersion version)
610EndpointAddress ea = ReadFromDriver(version, reader);
615public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlReader reader)
620public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlReader reader, string localName, string ns)
629EndpointAddress ea = ReadFromDriver(addressingVersion, dictReader);
634public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader)
642EndpointAddress ea = ReadFromDriver(addressingVersion, reader);
647public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns)
655EndpointAddress ea = ReadFromDriver(addressingVersion, reader);
660static EndpointAddress ReadFromDriver(AddressingVersion addressingVersion, XmlDictionaryReader reader)
1241public static bool operator ==(EndpointAddress address1, EndpointAddress address2)
1251public static bool operator !=(EndpointAddress address1, EndpointAddress address2)
1271EndpointAddress epr;
1278public EndpointAddressBuilder(EndpointAddress address)
1327Fx.Assert(reader.Name == EndpointAddress.DummyName, "EndpointAddressBuilder: Expected dummy element not found");
1340writer.WriteStartElement(EndpointAddress.DummyName, EndpointAddress.DummyNamespace);
1341EndpointAddress.Copy(writer, reader);
1361Fx.Assert(reader.Name == EndpointAddress.DummyName, "EndpointAddressBuilder: Expected dummy element not found");
1371this.extensionBuffer = EndpointAddress.ReadExtensions(reader, null, null, out identity, out tmp);
1382public EndpointAddress ToEndpointAddress()
System\ServiceModel\Security\IdentityVerifier.cs (11)
37internal bool CheckAccess(EndpointAddress reference, Message message)
60public abstract bool TryGetIdentity(EndpointAddress reference, out EndpointIdentity identity);
62static void AdjustAddress(ref EndpointAddress reference, Uri via)
71internal bool TryGetIdentity(EndpointAddress reference, Uri via, out EndpointIdentity identity)
77internal void EnsureIncomingIdentity(EndpointAddress serviceReference, AuthorizationContext authorizationContext)
82internal void EnsureOutgoingIdentity(EndpointAddress serviceReference, Uri via, AuthorizationContext authorizationContext)
88internal void EnsureOutgoingIdentity(EndpointAddress serviceReference, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies)
98void EnsureIdentity(EndpointAddress serviceReference, AuthorizationContext authorizationContext, String errorString)
121Exception CreateIdentityCheckException(EndpointIdentity identity, AuthorizationContext authorizationContext, string errorString, EndpointAddress serviceReference)
192public override bool TryGetIdentity(EndpointAddress reference, out EndpointIdentity identity)
216EndpointIdentity TryCreateDnsIdentity(EndpointAddress reference)
System\ServiceModel\Security\InfoCardHelper.cs (16)
91EndpointAddress target = tokenRequirement.GetProperty<EndpointAddress>(ServiceModelSecurityTokenRequirement.TargetAddressProperty);
116public static bool IsInfocardRequired(Binding binding, ClientCredentials clientCreds, SecurityTokenManager clientCredentialsTokenManager, EndpointAddress target, out CardSpacePolicyElement[] infocardChain, out Uri relyingPartyIssuer)
165static PolicyElement[] GetPolicyChain(EndpointAddress target, Binding outerBinding, IssuedSecurityTokenParameters parameters, Uri firstPrivacyNoticeLink, int firstPrivacyNoticeVersion, SecurityTokenManager clientCredentialsTokenManager)
167EndpointAddress nextTarget = target;
355static SecurityTokenProvider CreateTokenProviderForNextLeg(SecurityTokenRequirement tokenRequirement, EndpointAddress target, EndpointAddress issuerAddress, Uri relyingPartyIssuer, ClientCredentialsSecurityTokenManager clientCredentialsTokenManager, InfoCardChannelParameter infocardChannelParameter)
652EndpointAddress target,
710EndpointAddress target = tokenRequirement.GetProperty<EndpointAddress>(ServiceModelSecurityTokenRequirement.TargetAddressProperty);
724EndpointAddress m_target;
725EndpointAddress m_issuer;
737public EndpointAddress Issuer
752public PolicyElement(EndpointAddress target, EndpointAddress issuer, Collection<XmlElement> parameters, Uri privacyNoticeLink, int privacyNoticeVersion, bool isManagedIssuer, Binding binding)
792private XmlElement EndPointAddressToXmlElement(EndpointAddress epr)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (21)
29EndpointAddress issuerAddress;
31EndpointAddress targetAddress;
59public EndpointAddress IssuerAddress
72public EndpointAddress TargetAddress
281protected void EnsureEndpointAddressDoesNotRequireEncryption(EndpointAddress target)
345static protected void ThrowIfFault(Message message, EndpointAddress target)
416protected abstract bool CreateNegotiationStateCompletesSynchronously(EndpointAddress target, Uri via);
417protected abstract IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state);
418protected abstract T CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout);
424protected abstract bool WillInitializeChannelFactoriesCompleteSynchronously(EndpointAddress target);
425protected abstract void InitializeChannelFactories(EndpointAddress target, TimeSpan timeout);
426protected abstract IAsyncResult BeginInitializeChannelFactories(EndpointAddress target, TimeSpan timeout, AsyncCallback callback, object state);
428protected abstract IRequestChannel CreateClientChannel(EndpointAddress target, Uri via);
445nextMessage.Headers.ReplyTo = EndpointAddress.AnonymousAddress;
564EndpointAddress temp = (negotiationState == null) ? null : negotiationState.RemoteAddress;
693static Exception WrapExceptionIfRequired(Exception e, EndpointAddress targetAddress, EndpointAddress issuerAddress)
757EndpointAddress target;
758EndpointAddress issuer;
1120EndpointAddress pinnedEpr = null;
1136EndpointAddress pinnedTarget = (this.negotiationState == null) ? null : this.negotiationState.RemoteAddress;
System\ServiceModel\Security\SecurityProtocol.cs (5)
38EndpointAddress target;
43protected SecurityProtocol(SecurityProtocolFactory factory, EndpointAddress target, Uri via)
61public EndpointAddress Target
573internal bool TryGetSupportingTokens(SecurityProtocolFactory factory, EndpointAddress target, Uri via, Message message, TimeSpan timeout, bool isBlockingCall, out IList<SupportingTokenSpecification> supportingTokens)
749internal static SecurityToken GetToken(SecurityTokenProvider provider, EndpointAddress target, TimeSpan timeout)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (11)
329internal TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via)
334internal TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via, MessageFilter filter)
416EndpointAddress to;
441protected ClientSecuritySessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via)
470public EndpointAddress RemoteAddress
494protected EndpointAddress InternalLocalAddress
798closeMessage.Headers.ReplyTo = EndpointAddress.AnonymousAddress;
2801protected ClientSecuritySimplexSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via)
2833public SecurityRequestSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via)
3155public ClientSecurityDuplexSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via)
3164public EndpointAddress LocalAddress
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (17)
36EndpointAddress targetAddress;
43EndpointAddress localAddress;
105public EndpointAddress TargetAddress
115public EndpointAddress LocalAddress
489IRequestChannel CreateChannel(SecuritySessionOperation operation, EndpointAddress target, Uri via)
525Message CreateRequest(SecuritySessionOperation operation, EndpointAddress target, SecurityToken currentToken, out object requestState)
556void OnOperationSuccess(SecuritySessionOperation operation, EndpointAddress target, SecurityToken issuedToken, SecurityToken currentToken)
561void OnOperationFailure(SecuritySessionOperation operation, EndpointAddress target, SecurityToken currentToken, Exception e, IChannel channel)
570GenericXmlSecurityToken DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)
645RequestSecurityToken CreateRst(EndpointAddress target, out object requestState)
675message.Headers.ReplyTo = EndpointAddress.AnonymousAddress;
701protected virtual Message CreateIssueRequest(EndpointAddress target, out object requestState)
767protected virtual Message CreateRenewRequest(EndpointAddress target, SecurityToken currentSessionToken, out object requestState)
792static protected void ThrowIfFault(Message message, EndpointAddress target)
828EndpointAddress target;
835public SessionOperationAsyncResult(SecuritySessionSecurityTokenProvider requestor, SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout, AsyncCallback callback, object state)
1091protected override IRequestChannel OnCreateChannel(EndpointAddress address, Uri via)
System\ServiceModel\Security\SecurityUtils.cs (11)
727internal static string GetSpnFromIdentity(EndpointIdentity identity, EndpointAddress target)
756internal static string GetSpnFromTarget(EndpointAddress target)
803internal static int GetServiceAddressAndViaHash(EndpointAddress sr)
1254internal static void ThrowIfNegotiationFault(Message message, EndpointAddress target)
1784internal static void MatchRstWithEndpointFilter(Message rst, IMessageFilterTable<EndpointAddress> endpointFilterTable, Uri listenUri)
1790Collection<EndpointAddress> result = new Collection<EndpointAddress>();
2140X509FindType findType, object findValue, EndpointAddress target)
2150X509FindType findType, object findValue, EndpointAddress target, out X509Certificate2 certificate)
2157X509FindType findType, object findValue, EndpointAddress target, bool throwIfMultipleOrNoMatch)
2191X509FindType findType, object findValue, EndpointAddress target, int certCount)
System\ServiceModel\Security\TlsnegoTokenProvider.cs (4)
108protected override bool CreateNegotiationStateCompletesSynchronously(EndpointAddress target, Uri via)
120protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state)
145protected override SspiNegotiationTokenProviderState CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout)
237public CreateSspiStateAsyncResult(EndpointAddress target, Uri via, TlsnegoTokenProvider tlsTokenProvider, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (9)
112public EndpointAddress IssuerAddress
124public EndpointAddress TargetAddress
749protected override bool WillInitializeChannelFactoriesCompleteSynchronously(EndpointAddress target)
754protected override void InitializeChannelFactories(EndpointAddress target, TimeSpan timeout)
762protected override IAsyncResult BeginInitializeChannelFactories(EndpointAddress target, TimeSpan timeout, AsyncCallback callback, object state)
786protected override IRequestChannel CreateClientChannel(EndpointAddress target, Uri via)
822protected override bool CreateNegotiationStateCompletesSynchronously(EndpointAddress target, Uri via)
827protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state)
837protected override FederatedTokenProviderState CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout)