-
Notifications
You must be signed in to change notification settings - Fork 516
LocalAuthenticationEmbeddedUI macOS xcode14.0 beta1
Manuel de la Pena edited this page Aug 6, 2022
·
2 revisions
#LocalAuthenticationEmbeddedUI.framework ##mande
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h 2022-02-23 10:56:25.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAAuthenticationView.h 2022-05-31 15:02:40.000000000 -0400
@@ -5,10 +5,10 @@
// Copyright © 2021 Apple. All rights reserved.
//
+#import <AppKit/AppKit.h>
#import <Foundation/Foundation.h>
-#import <AppKit/NSView.h>
-#import <AppKit/NSCell.h>
-#import <LocalAuthentication/LAContext.h>
+
+@class LAContext;
NS_ASSUME_NONNULL_BEGIN
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h 2022-05-21 08:52:36.000000000 -0400
@@ -0,0 +1,16 @@
+//
+// Copyright © 2021 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#if TARGET_OS_IOS || TARGET_OS_MACCATALYST
+#import <UIKit/UIKit.h>
+
+/// @brief Container used for authorization UI.
+typedef UIWindow *LAPresentationContext;
+#else
+#import <AppKit/AppKit.h>
+
+/// @brief Container used for authorization UI.
+typedef NSWindow *LAPresentationContext;
+#endif // TARGET_OS_OSX
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h 2022-05-31 15:02:40.000000000 -0400
@@ -0,0 +1,26 @@
+//
+// Copyright © 2021 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <LocalAuthentication/LocalAuthentication.h>
+#import <LocalAuthenticationEmbeddedUI/LAPresentationContext.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// @brief Groups methods that control aspects of the UI used for authorizing a right
+API_AVAILABLE(macos(13.0), ios(16.0)) API_UNAVAILABLE(watchos, tvos)
+@interface LARight (UI)
+
+/// @brief Tries to authorize the right.
+/// @param localizedReason Localized explanation for the authorization. Appears in the UI presented to the user.
+/// @param presentationContext Container where the authorization UI will be presented.
+/// @param handler Completion handler called after the authorization finishses. Returns an error when the authorization fails.
+- (void)authorizeWithLocalizedReason:(NSString *)localizedReason
+ inPresentationContext:(LAPresentationContext)presentationContext
+ completion:(void (^)(NSError *_Nullable))handler
+NS_SWIFT_NAME(authorize(localizedReason:in:completion:));
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h 2022-02-12 07:47:56.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h 2022-05-21 08:52:36.000000000 -0400
@@ -3,3 +3,5 @@
//
#import <LocalAuthenticationEmbeddedUI/LAAuthenticationView.h>
+#import <LocalAuthenticationEmbeddedUI/LAPresentationContext.h>
+#import <LocalAuthenticationEmbeddedUI/LARight+UI.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status