Diffusion Apple API  6.6.2
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
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

- (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