Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
PTDiffusionBasicHTTPProxyAuthentication Class Reference

Provider of responses to basic authentication challenges from HTTP proxies. More...

#include <PTDiffusionBasicHTTPProxyAuthentication.h>

Inheritance diagram for PTDiffusionBasicHTTPProxyAuthentication:
<PTDiffusionHTTPAuthentication>

Instance Methods

(instancetype) - initWithUsername:password:
Instance Methods inherited from <PTDiffusionHTTPAuthentication>
(id< PTDiffusionHTTPAuthenticationChallengeHandler >) - createHandler

Detailed Description

Provider of responses to basic authentication challenges from HTTP proxies.

See also
PTDiffusionHTTPProxyConfiguration
Since
6.0

Method Documentation

◆ initWithUsername:password:

- (instancetype) initWithUsername: (NSString *) username
password: (NSString *) password 

Creates a basic HTTP Proxy authentication with the given username and password.

Parameters
usernameThe username to respond with.
passwordThe password to respond with.
Exceptions
NSInvalidArgumentExceptionIf either username or password is `nil`.
Returns
HTTP Proxy Authentication instance with the given username and password.
Since
6.0