Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Class Methods | 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:

Class Methods

(instancetype) + NS_UNAVAILABLE
 

Properties

PTDiffusionHTTPAuthenticationChallengeStatusstatus
 
NSDictionary< NSString
*, NSString * > * 
headers
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(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