Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSURLProtectionSpaceMBS class.

NSURLProtectionSpaceMBS.authenticationMethod as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Get the authentication method to be used for this protection space

NSURLProtectionSpaceMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacBase Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

NSURLProtectionSpaceMBS.host as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Get the proxy host if this is a proxy authentication, or the host from the URL.

Returns the host for this protection space.

NSURLProtectionSpaceMBS.isProxy as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Determine if this authenticating protection space is a proxy server

Returns true if a proxy, false otherwise.

NSURLProtectionSpaceMBS.port as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Get the proxy port if this is a proxy authentication, or the port from the URL.

Returns the port for this protection space, or 0 if not set.

NSURLProtectionSpaceMBS.protocol as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Get the protocol of this protection space, if not a proxy.

Returns the type string, or "" if a proxy.

NSURLProtectionSpaceMBS.proxyType as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Get the type of this protection space, if a proxy.

Returns the type string, or "" if not a proxy.

NSURLProtectionSpaceMBS.realm as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Get the authentication realm for which the protection space that needs authentication

This is generally only available for http authentication, and may be "" otherwise.

NSURLProtectionSpaceMBS.receivesCredentialSecurely as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Determine if the password for this protection space can be sent securely

True if a secure authentication method or protocol will be used, false otherwise.

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...