Interface IProxyAuthenticationFactory
- Namespace
- PushTechnology.ClientInterface.Client.Session.Proxy
- Assembly
- Diffusion.Client.dll
Factory for proxy authentication instances.
This factory allows common proxy authentication schemes to be used when connecting a session to a Diffusion server.
public interface IProxyAuthenticationFactory
Methods
Basic(string, string)
Provides an implementation of Basic proxy authentication.
IHttpProxyAuthentication Basic(string username, string password)
Parameters
usernamestringSpecifies the username to be used when authenticating a connection to a proxy server using Basic authentication.
passwordstringThe password associated with the provided username to authenticate a connection to the proxy server.
Returns
- IHttpProxyAuthentication
An instance of a Basic Proxy Authentication scheme.