Platforms to show: All Mac Windows Linux Cross-Platform

Back to LAContextMBS class.

LAContextMBS.biometryType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 21.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates the type of the biometry supported by the device.

This property is set when canEvaluatePolicy has been called for a biometric policy.
The default value is BiometryTypeNone.
(Read only property)

LAContextMBS.evaluatedPolicyDomainState as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 17.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Contains policy domain state.

This property is set only when evaluatePolicy is called and succesful Touch ID authentication was performed, or when canEvaluatePolicy succeeds for a biometric policy. It stays nil for all other cases. If finger database was modified (fingers were removed or added), evaluatedPolicyDomainState data will change. Nature of such database changes cannot be determined but comparing data of evaluatedPolicyDomainState after different evaluatePolicy will reveal the fact database was changed between calls.
(Read only property)

LAContextMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 17.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object handle.

(Read and Write property)

LAContextMBS.interactionNotAllowed as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 18.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Allows running authentication in non-interactive mode.

If the context is used in a keychain query by the means of kSecUseAuthenticationContext, then setting this property to YES has the same effect as passing kSecUseNoAuthenticationUI in the query, i.e. the keychain call will eventually fail with errSecInteractionNotAllowed instead of displaying the authentication UI.

If this property is used with a LocalAuthentication evaluation, it will eventually fail with kErrorNotInteractive instead of displaying the authentication UI.
(Read and Write property)

LAContextMBS.localizedCancelTitle as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 18.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Cancel button title.

Allows cancel button title customization. A default title "Cancel" is used when this property is set to empty string.
Requires MacOS 10.13 or newer.
(Read and Write property)

LAContextMBS.localizedFallbackTitle as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 17.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Fallback button title.
Example
dim lc as new MyLAContextMBS
lc.localizedFallbackTitle = "Just a test"

Allows fallback button title customization. A default title "Enter Password" is used when this property is left nil. If set to empty string, the button will be hidden.
(Read and Write property)

Some examples using this property:

LAContextMBS.localizedReason as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 18.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Allows setting the default localized authentication reason on context.

A localized string from this property is displayed in the authentication UI if the caller didn't specify its own authentication reason (e.g. a keychain operation with kSecUseAuthenticationContext). This property is ignored if the authentication reason was provided by caller.
Requires MacOS 10.13 or newer.
(Read and Write property)

Some examples using this property:

LAContextMBS.touchIDAuthenticationAllowableReuseDuration as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 17.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Time interval for accepting a successful Touch ID unlock from the past.

This property can be set with a time interval in seconds. If the device was successfully unlocked by Touch ID within this time interval, then Touch ID authentication on this context will succeed automatically and the reply block will be called without prompting user for Touch ID.

The default value is 0, meaning that no previous TouchID authentication can be reused.

The maximum supported interval is 5 minutes and setting the value beyond 5 minutes does not increase the accepted interval.
(Read and Write property)

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


The biggest plugin in space...