Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Properties | Instance Methods | List of all members
<PTDiffusionHTTPAuthenticationChallengeHandler> Protocol Reference

Introduction

The protocol implemented by classes providing an authentication challenge handler implementation for HTTP connections.

See Also
PTDiffusionHTTPAuthentication
Since
6.0

Properties

NSUInteger maximumConversations
 

Instance Methods

(NSDictionary< NSString
*, NSString * > *) 
- responseForChallenge:
 

Method Documentation

- (NSDictionary<NSString *, NSString *>*) responseForChallenge: (PTDiffusionHTTPAuthenticationChallenge *)  challenge

Called when a challenge is received. The receiver must return a response to the challenge.

Parameters
challengeThe challenge received from the HTTP server, encapsulating Status-Code and headers.
Returns
HTTP headers to be sent in response to the challenge.
Exceptions
NSInvalidArgumentExceptionIf challenge is nil.
Since
6.0

Property Documentation

- (NSUInteger) maximumConversations
readnonatomicassign

The maximum number of HTTP transactions permitted before authentication fails.

Since
6.0