Provider of responses to basic authentication challenges from HTTP proxies.
- See also
- PTDiffusionHTTPProxyConfiguration
- Since
- 6.0
◆ initWithUsername:password:
- (instancetype) initWithUsername: |
|
(NSString *) |
username |
password: |
|
(NSString *) |
password |
|
|
| |
Creates a basic HTTP Proxy authentication with the given username and password.
- Parameters
-
username | The username to respond with. |
password | The password to respond with. |
- Exceptions
-
NSInvalidArgumentException | If either username or password is `nil`. |
- Returns
- HTTP Proxy Authentication instance with the given username and password.
- Since
- 6.0