Class DefaultProxy
A simple implementation of System.Net.IWebProxy.
Inheritance
System.Object
DefaultProxy
Implements
System.Net.IWebProxy
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk.Internal
Assembly: Okta.Sdk.dll
Syntax
public sealed class DefaultProxy : IWebProxy
Constructors
DefaultProxy(ProxyConfiguration, ILogger)
Initializes a new instance of the DefaultProxy class.
Declaration
public DefaultProxy(ProxyConfiguration proxyConfiguration, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ProxyConfiguration | proxyConfiguration | The proxy configuration to use. |
Microsoft.Extensions.Logging.ILogger | logger | The logging interface. |
Properties
Credentials
Declaration
public ICredentials Credentials { get; set; }
Property Value
Type | Description |
---|---|
System.Net.ICredentials |
Methods
GetProxy(Uri)
Declaration
public Uri GetProxy(Uri destination)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | destination |
Returns
Type | Description |
---|---|
System.Uri |
IsBypassed(Uri)
Declaration
public bool IsBypassed(Uri host)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | host |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.Net.IWebProxy