Skip to content

AuthenticationServices macOS xcode16.0 b2

Rolf Bjarne Kvinge edited this page Jun 26, 2024 · 3 revisions

#AuthenticationServices.framework

diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionAuthorizationRequest.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionAuthorizationRequest.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionAuthorizationRequest.h	2024-05-30 08:56:25
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionAuthorizationRequest.h	2024-06-18 06:36:23
@@ -25,6 +25,7 @@
 @class ASAuthorizationProviderExtensionAuthorizationRequest;
 
 AS_EXTERN API_AVAILABLE(ios(13.0), macCatalyst(14.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos)
+NS_SWIFT_UI_ACTOR
 @protocol ASAuthorizationProviderExtensionAuthorizationRequestHandler <NSObject>
 
 /*! @abstract Called to begin the authorization. It’s called on the main thread.
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASSettingsHelper.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASSettingsHelper.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASSettingsHelper.h	2024-05-30 08:56:27
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASSettingsHelper.h	2024-06-18 06:36:25
@@ -14,6 +14,11 @@
 /// Calling this method will open the Settings app and navigate directly to the Verification Code provider settings.
 + (void)openVerificationCodeAppSettingsWithCompletionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler NS_SWIFT_ASYNC_NAME(openVerificationCodeAppSettings());
 
+/// Call this method from your containing app to request to turn on a contained Credential Provider Extension.
+/// If the extension is not currently enabled, a prompt will be shown to allow it to be turned on.
+/// The completion handler is called with YES or NO depending on whether the credential provider is enabled.
++ (void)requestCredentialProviderExtensionEnablementWithCompletionHandler:(void (^)(BOOL appWasEnabledForAutofill))completionHandler;
+
 - (instancetype)init NS_UNAVAILABLE;
 + (instancetype)new NS_UNAVAILABLE;
 

Clone this wiki locally