Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSURLCredentialMBS class.

NSURLCredentialMBS.CertificateCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Queries number of certificates in this credential object.

(Read only property)

NSURLCredentialMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal used handle for this class.

(Read and Write property)

NSURLCredentialMBS.HasIdentity as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether this credential object contains an identity reference.

(Read only property)

NSURLCredentialMBS.hasPassword as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Find out if this credential has a password, without trying to get it.

Returns true if this credential has a password, otherwise false.

If this credential's password is actually kept in an external store, the password method may return "" even if this method returns true, since getting the password may fail, or the user may refuse access.
(Read only property)

NSURLCredentialMBS.password as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Get the password.

This method might actually attempt to retrieve the password from an external store, possible resulting in prompting, so do not call it unless needed.
(Read only property)

NSURLCredentialMBS.persistence as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Determine whether this credential is or should be stored persistently.

Use the constants:
NSURLCredentialPersistenceNone
NSURLCredentialPersistenceForSession
NSURLCredentialPersistencePermanent
(Read only property)

NSURLCredentialMBS.user as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacBase Plugin 7.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Get the username.

(Read only property)

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


The biggest plugin in space...