Skip to content

LocalAuthentication iOS xcode14.0 beta3

Israel Soto edited this page Sep 6, 2022 · 3 revisions

#LocalAuthentication.framework https://github.com/xamarin/xamarin-macios/pull/15873

diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAContext+Authorization.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAContext+Authorization.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAContext+Authorization.h	2022-06-17 14:29:54.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAContext+Authorization.h	1969-12-31 18:00:00.000000000 -0600
@@ -1,28 +0,0 @@
-//
-//  Copyright © 2021 Apple Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import <LocalAuthentication/LAContext.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@class LARight;
-
-/// @brief Extensions on the @c LAContext interface for inter-operability with the Authorization API
-API_AVAILABLE(macos(13.0), ios(16.0)) API_UNAVAILABLE(watchos, tvos)
-@interface LAContext (LARight)
-
-/// @brief Evaluates the given @c LARight using in the current @c LAContext
-/// @param right Right to be evaluated.
-/// @param localizedReason Localized explanation for the authorization. Appears in the UI presented to the user.
-/// @param reply Returns error in case evaluation has failed
-- (void)evaluateRight:(LARight *)right localizedReason:(NSString *)localizedReason reply:(void (^)(NSError *_Nullable))reply;
-
-/// @brief Preflights the given @c LARight using in the current @c LAContext
-/// @param right Right to be evaluated.
-/// @param reply Completion handler. Returns @c nil if the right can be authorized or an error otherwise.
-- (void)checkCanEvaluateRight:(LARight *)right reply:(void (^)(NSError *_Nullable))reply;
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LARight.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LARight.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LARight.h	2022-06-17 10:26:50.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LARight.h	2022-06-30 21:11:08.000000000 -0500
@@ -73,18 +73,4 @@
 
 @end
 
-#pragma mark -
-
-/// @brief This notification is sent when a right has been authorized
-/// @discussion The related @c LARight instance is the @c object associated with the @c NSNotification instance delivered to observers
-API_AVAILABLE(macos(13.0), ios(16.0)) API_UNAVAILABLE(watchos, tvos)
-NS_SWIFT_NAME(LARight.didBecomeAuthorizedNotification)
-extern NSNotificationName const LARightDidBecomeAuthorizedNotification;
-
-/// @brief This notification is sent when a right has been deauthorized.
-/// @discussion The related @c LARight instance is the @c object associated with the @c NSNotification instance delivered to observers
-API_AVAILABLE(macos(13.0), ios(16.0)) API_UNAVAILABLE(watchos, tvos)
-NS_SWIFT_NAME(LARight.didBecomeUnauthorizedNotification)
-extern NSNotificationName const LARightDidBecomeUnauthorizedNotification;
-
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LocalAuthentication.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LocalAuthentication.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LocalAuthentication.h	2022-06-14 23:41:30.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthentication.framework/Headers/LocalAuthentication.h	2022-06-28 22:36:41.000000000 -0500
@@ -9,7 +9,6 @@
 #import <LocalAuthentication/LAContext.h>
 #import <LocalAuthentication/LAError.h>
 #import <LocalAuthentication/LAPublicDefines.h>
-#import <LocalAuthentication/LAContext+Authorization.h>
 #import <LocalAuthentication/LAPersistedRight.h>
 #import <LocalAuthentication/LAPrivateKey.h>
 #import <LocalAuthentication/LAPublicKey.h>
Clone this wiki locally