Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

LAContextMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class TouchBar MBS Mac64bit Plugin 17.0 Yes No No Yes, macOS only No
Function: The class for local authentication via password or TouchID.

Feedback, Comments & Corrections

Error Codes

Constant Value Description
kErrorAppCancel -9 Authentication was canceled by application (e.g. invalidate was called while authentication was in progress).
kErrorAuthenticationFailed -1 Authentication was not successful, because user failed to provide valid credentials.
kErrorInvalidContext -10 LAContext passed to this call has been previously invalidated.
kErrorPasscodeNotSet -5 Authentication could not start, because passcode is not set on the device.
kErrorSystemCancel -4 Authentication was canceled by system (e.g. another application went to foreground).
kErrorTouchIDLockout -8 Authentication was not successful, because there were too many failed Touch ID attempts and Touch ID is now locked. Passcode is required to unlock Touch ID, e.g. evaluating PolicyDeviceOwnerAuthenticationWithBiometrics will ask for passcode as a prerequisite.
kErrorTouchIDNotAvailable -6 Authentication could not start, because Touch ID is not available on the device.
kErrorTouchIDNotEnrolled -7 Authentication could not start, because Touch ID has no enrolled fingers.
kErrorUserCancel -2 Authentication was canceled by user (e.g. tapped Cancel button).
kErrorUserFallback -3 Authentication was canceled, because the user tapped the fallback button (Enter Password).

This class has no sub classes.

Some examples which use this class:


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


Label   -   LargeBinaryStreamMBS




Links
MBS Xojo Chart Plugins