KeychainSettingsMBS properties

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem