using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.Discovery; using System.Threading; using System.Xml; namespace Asb.Base.V2; internal interface IClientManagement { ConnectContext CreateConnectContext(EndpointAddress serviceEndpointAddress, Binding binding, string application, string user, CancellationToken cancellationToken) where T : class, IAuthenticateAsb; void InjectCustomBehavior(ChannelFactory channelFactory) where T : class, IAuthenticateAsb; bool EstablishSecureSession(ConnectContext context, string solutionName, ClientAccess access) where T : class, IAuthenticateAsb; void DisconnectSecureSession(ConnectContext context) where T : class, IAuthenticateAsb; IEnumerable DiscoverEndpointsForContract(XmlQualifiedName contract, string scopeRule); }