Diffusion Apple API  6.7.4
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
Properties | Instance Methods | List of all members
PTDiffusionHTTPAuthenticationChallenge Class Reference

Introduction

An HTTP response from a server connection request, challenging the client to authenticate.

See Also
PTDiffusionHTTPAuthenticationChallengeHandler
Since
6.0
Inheritance diagram for PTDiffusionHTTPAuthenticationChallenge:

Properties

PTDiffusionHTTPAuthenticationChallengeStatusstatus
 
NSDictionary< NSString
*, NSString * > * 
headers
 

Instance Methods

(BOOL) - isEqualToHTTPAuthenticationChallenge:
 

Method Documentation

- (BOOL) isEqualToHTTPAuthenticationChallenge: (nullable PTDiffusionHTTPAuthenticationChallenge *)  challenge

Compares the receiver to the given challenge.

Parameters
challengeThe HTTP authentication challenge object with which to compare the receiver.
Returns
YES if the challenge is identical to the receiver, otherwise NO.
Note
Two challenge objects are equal if they have the same statusCode and headers properties. The reasonPhrase property is not used when evaluating equality.
Since
6.0

Property Documentation

- (NSDictionary<NSString *, NSString *>*) headers
readnonatomicassign

The headers received from the HTTP server.

Since
6.0
- (PTDiffusionHTTPAuthenticationChallengeStatus*) status
readnonatomicassign

The status received from the HTTP server.

Since
6.0