Diffusion Apple API  6.5.13
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator 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) + unauthorized
 
(instancetype) + proxyAuthenticationRequired
 

Properties

NSString * reasonPhrase
 

Instance Methods

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

Returns
The HTTP authentication challenge status response from the server.
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.

Returns
The HTTP authentication challenge status response from the server.
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