Diffusion Apple API 6.11.5
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
Instance Methods | List of all members
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