diff --git a/src/LocalAuthentication/LAEnums.cs b/src/LocalAuthentication/LAEnums.cs index c1b4540cab..4fa45d8ac3 100644 --- a/src/LocalAuthentication/LAEnums.cs +++ b/src/LocalAuthentication/LAEnums.cs @@ -10,7 +10,11 @@ namespace LocalAuthentication { public enum LAPolicy : long { [Mac (10,12,2)] DeviceOwnerAuthenticationWithBiometrics = 1, - DeviceOwnerAuthentication = 2 + DeviceOwnerAuthentication = 2, + [NoiOS][Mac (10,15, onlyOn64: true)][Introduced (PlatformName.UIKitForMac, 13,0)] + DeviceOwnerAuthenticationWithWatch = 3, + [NoiOS][Mac (10,15, onlyOn64: true)][Introduced (PlatformName.UIKitForMac, 13,0)] + OwnerAuthenticationWithBiometricsOrWatch = 4, } [iOS (8,0)] @@ -44,6 +48,7 @@ namespace LocalAuthentication { TouchIDLockout = -8, AppCancel = -9, InvalidContext = -10, + WatchNotAvailable = -11, BiometryNotAvailable = TouchIDNotAvailable, BiometryNotEnrolled = TouchIDNotEnrolled, diff --git a/src/localauthentication.cs b/src/localauthentication.cs index 703292e9e8..f96445371b 100644 --- a/src/localauthentication.cs +++ b/src/localauthentication.cs @@ -10,7 +10,7 @@ namespace LocalAuthentication { public enum LABiometryType : long { None, TouchId, - [NoMac] + [Mac (10,15, onlyOn64: true)] FaceId, #if !XAMCORE_4_0 [NoMac]