blob: 9553a2477cfea0107a8581cbceb51bd1603f92fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
{ Parsed from Foundation.framework NSURLAuthenticationChallenge.h }
{$ifdef TYPES}
{$ifndef NSURLAUTHENTICATIONCHALLENGE_PAS_T}
{$define NSURLAUTHENTICATIONCHALLENGE_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSURLAUTHENTICATIONCHALLENGE_PAS_R}
{$define NSURLAUTHENTICATIONCHALLENGE_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSURLAUTHENTICATIONCHALLENGE_PAS_F}
{$define NSURLAUTHENTICATIONCHALLENGE_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSURLAUTHENTICATIONCHALLENGE_PAS_S}
{$define NSURLAUTHENTICATIONCHALLENGE_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSURLAuthenticationChallengeSenderProtocol = objcprotocol;
NSURLAuthenticationChallenge = objcclass;
NSURLAuthenticationChallengePointer = ^NSURLAuthenticationChallenge;
NSURLAuthenticationChallengePtr = NSURLAuthenticationChallengePointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSURLAUTHENTICATIONCHALLENGE_PAS_C}
{$define NSURLAUTHENTICATIONCHALLENGE_PAS_C}
{ NSURLAuthenticationChallenge }
NSURLAuthenticationChallenge = objcclass external (NSObject)
private
_internal: NSURLAuthenticationChallengeInternal;
public
function initWithProtectionSpace_proposedCredential_previousFailureCount_failureResponse_error_sender(space: NSURLProtectionSpace; credential: NSURLCredential; previousFailureCount_: NSInteger; response: NSURLResponse; error_: NSError; sender_: NSURLAuthenticationChallengeSenderProtocol): id; message 'initWithProtectionSpace:proposedCredential:previousFailureCount:failureResponse:error:sender:';
function initWithAuthenticationChallenge_sender(challenge: NSURLAuthenticationChallenge; sender_: NSURLAuthenticationChallengeSenderProtocol): id; message 'initWithAuthenticationChallenge:sender:';
function protectionSpace: NSURLProtectionSpace; message 'protectionSpace';
function proposedCredential: NSURLCredential; message 'proposedCredential';
function previousFailureCount: NSInteger; message 'previousFailureCount';
function failureResponse: NSURLResponse; message 'failureResponse';
function error: NSError; message 'error';
function sender: NSURLAuthenticationChallengeSenderProtocol; message 'sender';
end;
{$endif}
{$endif}
{$ifdef PROTOCOLS}
{$ifndef NSURLAUTHENTICATIONCHALLENGE_PAS_P}
{$define NSURLAUTHENTICATIONCHALLENGE_PAS_P}
{ NSURLAuthenticationChallengeSender Protocol }
NSURLAuthenticationChallengeSenderProtocol = objcprotocol external name 'NSURLAuthenticationChallengeSender'
procedure useCredential_forAuthenticationChallenge(credential: NSURLCredential; challenge: NSURLAuthenticationChallenge); message 'useCredential:forAuthenticationChallenge:';
procedure continueWithoutCredentialForAuthenticationChallenge(challenge: NSURLAuthenticationChallenge); message 'continueWithoutCredentialForAuthenticationChallenge:';
procedure cancelAuthenticationChallenge(challenge: NSURLAuthenticationChallenge); message 'cancelAuthenticationChallenge:';
end;
{$endif}
{$endif}
|