Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

LAContextMBS.evaluatedPolicyDomainState as MemoryBlock
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TouchBar MBS Mac64bit Plugin 17.0 Yes No No Yes, macOS only No
Function: Contains policy domain state.
Notes:
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)

Feedback, Comments & Corrections

LAContextMBS.Handle as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TouchBar MBS Mac64bit Plugin 17.0 Yes No No Yes, macOS only No
Function: The internal object handle.
Notes: (Read and Write property)

Feedback, Comments & Corrections

LAContextMBS.interactionNotAllowed as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TouchBar MBS Mac64bit Plugin 18.4 Yes No No Yes, macOS only No
Function: Allows running authentication in non-interactive mode.
Notes:
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)

Feedback, Comments & Corrections

LAContextMBS.localizedCancelTitle as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TouchBar MBS Mac64bit Plugin 18.4 Yes No No Yes, macOS only No
Function: Cancel button title.
Notes:
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)

Feedback, Comments & Corrections

LAContextMBS.localizedFallbackTitle as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TouchBar MBS Mac64bit Plugin 17.0 Yes No No Yes, macOS only No
Function: Fallback button title.
Example:
dim lc as new MyLAContextMBS
lc.localizedFallbackTitle = "Just a test"
Notes:
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)

Feedback, Comments & Corrections

LAContextMBS.localizedReason as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TouchBar MBS Mac64bit Plugin 18.4 Yes No No Yes, macOS only No
Function: Allows setting the default localized authentication reason on context.
Notes:
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)

Feedback, Comments & Corrections

LAContextMBS.touchIDAuthenticationAllowableReuseDuration as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TouchBar MBS Mac64bit Plugin 17.0 Yes No No Yes, macOS only No
Function: Time interval for accepting a successful Touch ID unlock from the past.
Notes:
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)

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins