Share via


NSUrlCredentialStorage.GetCredentials Method

Definition

Overloads

GetCredentials(NSUrlProtectionSpace)

[Foundation.Export("credentialsForProtectionSpace:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSDictionary GetCredentials(Foundation.NSUrlProtectionSpace forProtectionSpace);
[<Foundation.Export("credentialsForProtectionSpace:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetCredentials : Foundation.NSUrlProtectionSpace -> Foundation.NSDictionary
override this.GetCredentials : Foundation.NSUrlProtectionSpace -> Foundation.NSDictionary

Parameters

forProtectionSpace
NSUrlProtectionSpace

Returns

Attributes

Applies to

GetCredentials(NSUrlProtectionSpace, NSUrlSessionTask, Action<NSDictionary>)

[Foundation.Export("getCredentialsForProtectionSpace:task:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void GetCredentials(Foundation.NSUrlProtectionSpace protectionSpace, Foundation.NSUrlSessionTask task, Action<Foundation.NSDictionary>? completionHandler);
[<Foundation.Export("getCredentialsForProtectionSpace:task:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetCredentials : Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask * Action<Foundation.NSDictionary> -> unit
override this.GetCredentials : Foundation.NSUrlProtectionSpace * Foundation.NSUrlSessionTask * Action<Foundation.NSDictionary> -> unit

Parameters

protectionSpace
NSUrlProtectionSpace
completionHandler
Action<NSDictionary>
Attributes

Applies to