Interface IProxyAuthenticationFactory

Factory for proxy authentication 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
System.String username

Specifies the username to be used when authenticating a connection to a proxy server using Basic authentication.

System.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.

Back to top