Skip to content

AuthenticationServices watchOS xcode14.0 beta1

TJ Lambert edited this page Jul 18, 2022 · 3 revisions

#AuthenticationServices.framework https://github.com/xamarin/xamarin-macios/pull/15427

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationController.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationController.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationController.h	2022-02-23 07:16:50.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationController.h	2022-06-03 18:10:17.000000000 -0400
@@ -68,13 +68,21 @@
  */
 - (instancetype)initWithAuthorizationRequests:(NSArray<ASAuthorizationRequest *> *)authorizationRequests NS_DESIGNATED_INITIALIZER;
 
-/*! @abstract Initiate the authorization flows.  Upon completion, the delegate will be called with either success or failure.
- Certain authorization flows may require a presentation context, the presentationContextProvider will be called to provider it.
- 
- The instance will remain retained until the user completes the flow and the delegate callback is made.
+/*! @abstract Initiate the authorization flows. Upon completion, the delegate will be called with either success or failure.
+ Certain authorization flows may require a presentation context. The @c presentationContextProvider will be called
+ to provide it.
+
+ The instance will remain retained until the flow is either completed or canceled, and the delegate callback is made.
  */
 - (void)performRequests;
 
+
+
+/*! @abstract Cancel the running authorization flows, if there are any. If a flow is canceled, the delegate callback will
+ be made indicating the cancel.
+ */
+- (void)cancel API_AVAILABLE(macos(13.0), ios(16.0)) API_UNAVAILABLE(watchos, tvos);
+
 + (instancetype)new NS_UNAVAILABLE;
 
 - (instancetype)init NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionAuthorizationRequest.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionAuthorizationRequest.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionAuthorizationRequest.h	2022-02-23 07:16:49.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionAuthorizationRequest.h	2022-06-03 18:07:58.000000000 -0400
@@ -8,6 +8,7 @@
 #import <AuthenticationServices/ASFoundation.h>
 #import <Foundation/Foundation.h>
 
+
 NS_ASSUME_NONNULL_BEGIN
 
 typedef NSString * ASAuthorizationProviderAuthorizationOperation API_AVAILABLE(ios(13.0), macCatalyst(14.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos) NS_TYPED_EXTENSIBLE_ENUM;
@@ -121,6 +122,7 @@
 */
 @property (nonatomic, readonly, getter=isUserInterfaceEnabled) BOOL userInterfaceEnabled API_AVAILABLE(ios(15.4), macos(12.3)) API_UNAVAILABLE(tvos, watchos);
 
+
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/AuthenticationServices.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/AuthenticationServices.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/AuthenticationServices.h	2022-02-18 02:59:45.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/AuthenticationServices.h	2022-05-27 02:18:01.000000000 -0400
@@ -51,3 +51,4 @@
 
 
 
+
Clone this wiki locally