/ private_include / CFNetwork / CFURLAuthChallenge.h
CFURLAuthChallenge.h
 1  #ifndef __CFURLAUTHCHALLENGE__
 2  #define __CFURLAUTHCHALLENGE__
 3  
 4  #include "CFURLCredential.h"
 5  #include "CFURLProtectionSpace.h"
 6  #include "CFURLResponse.h"
 7  #include <CFNetwork/CFHTTPAuthentication.h>
 8  
 9  #if PRAGMA_ONCE
10  #pragma once
11  #endif
12  
13  __BEGIN_DECLS
14  
15  typedef const struct __CFURLAuthChallenge *CFURLAuthChallengeRef;
16  
17  CFURLAuthChallengeRef CFURLAuthChallengeCreateWithCFHTTPAuthentication(CFAllocatorRef allocator, CFHTTPAuthenticationRef auth);
18  CFURLProtectionSpaceRef CFURLAuthChallengeGetProtectionSpace(CFURLAuthChallengeRef challenge);
19  CFURLCredentialRef CFURLAuthChallengeGetCredential(CFURLAuthChallengeRef challenge);
20  CFURLResponseRef CFURLAuthChallengeGetResponse(CFURLAuthChallengeRef challenge);
21  CFIndex CFURLAuthChallengeGetPreviousFailureCount(CFURLAuthChallengeRef challenge);
22  CFErrorRef CFURLAuthChallengeGetError(CFURLAuthChallengeRef challenge);
23  
24  __END_DECLS
25  
26  #endif