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