LAContextMBS constants

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 LAContextMBS class.

Credential Types

LAContextMBS.CredentialTypeApplicationPassword = 0

Type Topic Plugin Version
const TouchBar MBS Mac64bit Plugin 17.0
One oft he credential types.

The credential type for an application password.

LAContextMBS.CredentialTypeSmartCardPIN = 1

Type Topic Plugin Version
const TouchBar MBS Mac64bit Plugin 21.0
One oft he credential types.

Smart card PIN provided by application.

If not set, LocalAuthentication will ask users for the smart card PIN when necessary. Applications can provide the PIN using setCredential method. In such case, LocalAuthentication will not show the smart card PIN user interface.
When entered from the LocalAuthentication user interface, the PIN is stored as UTF-8 encoded string.

Policies

LAContextMBS.PolicyDeviceOwnerAuthentication = 2

Type Topic Plugin Version
const TouchBar MBS Mac64bit Plugin 17.0
One of the policy constants.

Device owner is going to be authenticated by biometry or user password.

Touch ID or user password authentication is required. If Touch ID is not available, not enrolled or locked out, then the user is asked for password right away.

Touch ID authentication dialog behaves similarly as the one used by PolicyDeviceOwnerAuthenticationWithBiometrics. However, the "Use Password.." button does not end the authentication. Instead, it switches the authentication mechanism to user password.

LAContextMBS.PolicyDeviceOwnerAuthenticationWithBiometrics = 1

Type Topic Plugin Version
const TouchBar MBS Mac64bit Plugin 17.0
One of the policy constants.

The policy for owner authentication with biometrics.

LAContextMBS.PolicyDeviceOwnerAuthenticationWithBiometricsOrWatch = 4

Type Topic Plugin Version
const TouchBar MBS Mac64bit Plugin 21.0
One of the policy constants.

Device owner is going to be authenticated by biometry or Watch.

Watch or biometric authentication is required. If no nearby paired watch device can be found, it behaves as PolicyDeviceOwnerAuthenticationWithBiometrics. Similarly, if biometry is unavailable it behaves as PolicyDeviceOwnerAuthenticationWithWatch.

Watch authentication dialog looks and behaves similarly to biometric variant. When both mechanisms are available, user is asked to use biometry and watch authentication will run in parallel.

LAContextMBS.PolicyDeviceOwnerAuthenticationWithWatch = 3

Type Topic Plugin Version
const TouchBar MBS Mac64bit Plugin 21.0
Device owner is going to be authenticated by Watch.

Watch authentication is required. If no nearby paired watch device can be found,
kErrorWatchNotAvailable is returned.

Watch authentication dialog looks and behaves similarly to the biometric variant. Users can confirm authentication by double-clicking the side button on their watch.

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


💬 Ask a question or report a problem