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
PTDiffusionHTTPAuthenticationChallengeStatus Class Reference

Introduction

An HTTP Status received as part of an authentication challenge.

See Also
PTDiffusionHTTPAuthenticationChallenge
Since
6.0
Inheritance diagram for PTDiffusionHTTPAuthenticationChallengeStatus:

Class Methods

(instancetype) + NS_UNAVAILABLE
 
(instancetype) + unauthorized
 
(instancetype) + proxyAuthenticationRequired
 

Properties

NSString * reasonPhrase
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(BOOL) - isEqualToHTTPAuthenticationChallengeStatus:
 

Method Documentation

- (BOOL) isEqualToHTTPAuthenticationChallengeStatus: (nullable PTDiffusionHTTPAuthenticationChallengeStatus *)  status

Compares the receiver to the given status.

Parameters
statusThe HTTP authentication challenge status object with which to compare the receiver.
Returns
YES if the status is identical to the receiver, otherwise NO.
Note
Two status objects are equal if they mean the same thing. The reasonPhrase property is not used when evaluating equality.
Since
6.0
+ (instancetype) proxyAuthenticationRequired

The server responded to the connection request with HTTP Status-Code 407.

Note
The reasonPhrase property for the static instance returned by this method will always be nil.
Since
6.0
+ (instancetype) unauthorized

The server responded to the connection request with HTTP Status-Code 401.

Note
The reasonPhrase property for the static instance returned by this method will always be nil.
Since
6.0

Property Documentation

- (NSString*) reasonPhrase
readnonatomicassign

The HTTP Reason-Phrase provided by the server with the response that generated this status.

Since
6.0