text: //
  //  LAPublicDefines.h
  //  LocalAuthentication
  //
  //  Copyright (c) 2014 Apple. All rights reserved.
  //
  
  #ifndef LocalAuthentication_LAPublicDefines_h
  #define LocalAuthentication_LAPublicDefines_h
  
  // Policies
  #define kLAPolicyDeviceOwnerAuthenticationWithBiometrics        1
  #define kLAPolicyDeviceOwnerAuthentication                      2
  #define kLAPolicyDeviceOwnerAuthenticationWithWatch             3
  #define kLAPolicyDeviceOwnerAuthenticationWithBiometricsOrWatch 4
  
  // Credential types
  #define kLACredentialTypeApplicationPassword                0
  #define kLACredentialSmartCardPIN                          -3
  
  // Error codes
  #define kLAErrorAuthenticationFailed                       -1
  #define kLAErrorUserCancel                                 -2
  #define kLAErrorUserFallback                               -3
  #define kLAErrorSystemCancel                               -4
  #define kLAErrorPasscodeNotSet                             -5
  #define kLAErrorTouchIDNotAvailable                        -6
  #define kLAErrorTouchIDNotEnrolled                         -7
  #define kLAErrorTouchIDLockout                             -8
  #define kLAErrorAppCancel                                  -9
  #define kLAErrorInvalidContext                            -10
  #define kLAErrorWatchNotAvailable                         -11
  #define kLAErrorNotInteractive                          -1004
  #define kLAErrorBiometryNotAvailable                        kLAErrorTouchIDNotAvailable
  #define kLAErrorBiometryNotEnrolled                         kLAErrorTouchIDNotEnrolled
  #define kLAErrorBiometryLockout                             kLAErrorTouchIDLockout
  #define kLAErrorBiometryNotPaired                         -12
  #define kLAErrorBiometryDisconnected                      -13
  
  
  // Error domain
  #define kLAErrorDomain        "com.apple.LocalAuthentication"
  
  #endif
  