blob: eec669e88d0a08ff1243cc20158aab7aee2961c4 (
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
|
{ Parsed from Foundation.framework NSURLCredentialStorage.h }
{$ifdef TYPES}
{$ifndef NSURLCREDENTIALSTORAGE_PAS_T}
{$define NSURLCREDENTIALSTORAGE_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSURLCREDENTIALSTORAGE_PAS_R}
{$define NSURLCREDENTIALSTORAGE_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSURLCREDENTIALSTORAGE_PAS_F}
{$define NSURLCREDENTIALSTORAGE_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSURLCREDENTIALSTORAGE_PAS_S}
{$define NSURLCREDENTIALSTORAGE_PAS_S}
{ External string constants }
var
NSURLCredentialStorageChangedNotification: NSString; cvar; external;
{$endif}
{$endif}
{$ifdef FORWARD}
NSURLCredentialStorage = objcclass;
NSURLCredentialStoragePointer = ^NSURLCredentialStorage;
NSURLCredentialStoragePtr = NSURLCredentialStoragePointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSURLCREDENTIALSTORAGE_PAS_C}
{$define NSURLCREDENTIALSTORAGE_PAS_C}
{ NSURLCredentialStorage }
NSURLCredentialStorage = objcclass external (NSObject)
private
_internal: NSURLCredentialStorageInternal;
public
class function sharedCredentialStorage: NSURLCredentialStorage; message 'sharedCredentialStorage';
function credentialsForProtectionSpace(space: NSURLProtectionSpace): NSDictionary; message 'credentialsForProtectionSpace:';
function allCredentials: NSDictionary; message 'allCredentials';
procedure setCredential_forProtectionSpace(credential: NSURLCredential; space: NSURLProtectionSpace); message 'setCredential:forProtectionSpace:';
procedure removeCredential_forProtectionSpace(credential: NSURLCredential; space: NSURLProtectionSpace); message 'removeCredential:forProtectionSpace:';
function defaultCredentialForProtectionSpace(space: NSURLProtectionSpace): NSURLCredential; message 'defaultCredentialForProtectionSpace:';
procedure setDefaultCredential_forProtectionSpace(credential: NSURLCredential; space: NSURLProtectionSpace); message 'setDefaultCredential:forProtectionSpace:';
end;
{$endif}
{$endif}
|