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

Introduction

Provider of responses to basic authentication challenges from HTTP proxies.

See also
PTDiffusionHTTPProxyConfiguration
Since
6.0
Inheritance diagram for PTDiffusionBasicHTTPProxyAuthentication:
<PTDiffusionHTTPAuthentication>

Instance Methods

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

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