Enumeration

LAPolicy

The set of available local authentication policies.

Declaration

enum LAPolicy : Int

Topics

Policies

case deviceOwnerAuthenticationWithBiometrics

User authentication with biometry.

case deviceOwnerAuthenticationWithWatch

User authentication with Apple Watch.

Beta
case deviceOwnerAuthenticationWithBiometricsOrWatch

User authentication with either biometry or Apple Watch.

Beta
case deviceOwnerAuthentication

User authentication with biometry, Apple Watch, or the device passcode.

Policy Constants

var kLAPolicyDeviceOwnerAuthenticationWithWatch: Int32

User authentication with Apple Watch.

Beta
var kLAPolicyDeviceOwnerAuthenticationWithBiometricsOrWatch: Int32

User authentication with either biometry or Apple Watch.

Beta
var kLAPolicyDeviceOwnerAuthentication: Int32

User authentication with either biometry or the device passcode.

See Also

Checking Availability

func canEvaluatePolicy(LAPolicy, error: NSErrorPointer) -> Bool

Assesses whether authentication can proceed for a given policy.

var biometryType: LABiometryType

The type of biometric authentication supported by the device.

enum LABiometryType

The set of available biometric authentication types.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software