Compartir a través de


NSUrlConnectionDelegate.CanAuthenticateAgainstProtectionSpace Método

Definición

Los desarrolladores no deben usar este método en desuso. Los desarrolladores deben usar "WillSendRequestForAuthenticationChallenge" en su lugar.

[Foundation.Export("connection:canAuthenticateAgainstProtectionSpace:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, "Use 'WillSendRequestForAuthenticationChallenge' instead.")]
public virtual bool CanAuthenticateAgainstProtectionSpace (Foundation.NSUrlConnection connection, Foundation.NSUrlProtectionSpace protectionSpace);
abstract member CanAuthenticateAgainstProtectionSpace : Foundation.NSUrlConnection * Foundation.NSUrlProtectionSpace -> bool
override this.CanAuthenticateAgainstProtectionSpace : Foundation.NSUrlConnection * Foundation.NSUrlProtectionSpace -> bool

Parámetros

connection
NSUrlConnection
protectionSpace
NSUrlProtectionSpace

Devoluciones

Atributos

Se aplica a