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

◆ responseForChallenge:

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

◆ maximumConversations

- (NSUInteger) maximumConversations
readnonatomicassign

The maximum number of HTTP transactions permitted before authentication fails.

Since
6.0