Platforms to show: All Mac Windows Linux Cross-Platform

Back to KeychainSettingsMBS class.

KeychainSettingsMBS.lockInterval as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Keychain MBS MacClassic Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
An unsigned 32-bit integer representing the number of seconds before the keychain locks. If you set useLockInterval to false, set lockInterval to INT_MAX to indicate that the keychain never locks.
Example
dim SystemKeychain as KeychainMBS = KeychainManagerMBS.DomainDefault(KeychainManagerMBS.kSecPreferencesDomainSystem)
dim settings as KeychainSettingsMBS = SystemKeychain.Settings
MsgBox str(settings.lockInterval)

(Read and Write property)

KeychainSettingsMBS.lockOnSleep as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Keychain MBS MacClassic Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether the keychain locks when the system sleeps.
Example
dim DefaultKeychain as KeychainMBS = KeychainManagerMBS.Default
dim settings as KeychainSettingsMBS = DefaultKeychain.Settings
MsgBox str(settings.lockOnSleep)

(Read and Write property)

KeychainSettingsMBS.useLockInterval as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Keychain MBS MacClassic Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether the keychain automatically locks after a certain period of time.
Example
dim DefaultKeychain as KeychainMBS = KeychainManagerMBS.Default
dim settings as KeychainSettingsMBS = DefaultKeychain.Settings
MsgBox str(settings.useLockInterval)

(Read and Write property)

KeychainSettingsMBS.version as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Keychain MBS MacClassic Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
An unsigned 32-bit integer representing the keychain version.
Example
dim DefaultKeychain as KeychainMBS = KeychainManagerMBS.Default
dim settings as KeychainSettingsMBS = DefaultKeychain.Settings
MsgBox str(settings.version)

Is always 1.
(Read and Write property)

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


The biggest plugin in space...