NSUrlCredentialStorage.GetDefaultCredential Method

Definition

Overloads

GetDefaultCredential(NSUrlProtectionSpace, NSUrlSessionTask, Action<NSUrlCredential>)
GetDefaultCredential(NSUrlProtectionSpace)

GetDefaultCredential(NSUrlProtectionSpace, NSUrlSessionTask, Action<NSUrlCredential>)

[Foundation.Export("getDefaultCredentialForProtectionSpace:task:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void GetDefaultCredential (Foundation.NSUrlProtectionSpace space, Foundation.NSUrlSessionTask task, Action<Foundation.NSUrlCredential> completionHandler);
abstract member GetDefaultCredential : Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask * Action<Foundation.NSUrlCredential> -> unit
override this.GetDefaultCredential : Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask * Action<Foundation.NSUrlCredential> -> unit

Parameters

completionHandler
Action<NSUrlCredential>

To be added.

This parameter can be null.

Attributes

Applies to

GetDefaultCredential(NSUrlProtectionSpace)

[Foundation.Export("defaultCredentialForProtectionSpace:")]
public virtual Foundation.NSUrlCredential GetDefaultCredential (Foundation.NSUrlProtectionSpace forProtectionSpace);
abstract member GetDefaultCredential : Foundation.NSUrlProtectionSpace -> Foundation.NSUrlCredential
override this.GetDefaultCredential : Foundation.NSUrlProtectionSpace -> Foundation.NSUrlCredential

Parameters

forProtectionSpace
NSUrlProtectionSpace

Returns

Attributes

Applies to