Skip to content

AuthenticationServices macOS xcode16.3 b1

Rolf Bjarne Kvinge edited this page Dec 12, 2024 · 5 revisions

#AuthenticationServices.framework

diff -ruN /Applications/Xcode_16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.h /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.h
--- /Applications/Xcode_16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.h	2024-11-20 11:24:38
+++ /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.h	2025-02-11 06:20:11
@@ -21,7 +21,7 @@
     /// this request will return an error without showing any UI to the user, and may be retried the next time they
     /// sign in.
     ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyleConditional,
-} NS_SWIFT_NAME(ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.RequestStyle) AS_API_AVAILABLE(macos(15.0), ios(18.0), xros(2.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
+} NS_SWIFT_NAME(ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.RequestStyle) AS_API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
 
 AS_HEADER_AUDIT_BEGIN(nullability, sendability)
 
@@ -35,7 +35,7 @@
 
 @property (nonatomic, nullable) ASAuthorizationPublicKeyCredentialPRFRegistrationInput *prf NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
 
-@property (nonatomic) ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle requestStyle AS_API_AVAILABLE(macos(15.0), ios(18.0), xros(2.0)) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic) ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestStyle requestStyle AS_API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
 
 @end
 
diff -ruN /Applications/Xcode_16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionLoginManager.h /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionLoginManager.h
--- /Applications/Xcode_16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionLoginManager.h	2024-11-20 11:24:39
+++ /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationProviderExtensionLoginManager.h	2025-02-11 06:20:11
@@ -125,6 +125,28 @@
 - (void)resetUserSecureEnclaveKey API_AVAILABLE(macos(14.0)) API_UNAVAILABLE(ios, watchos, tvos);
 
 
+
+/*!
+ @abstract Provides a new or cached attestation for the specified key type.
+ @param keyType The key type for the attestation.
+ @param clientDataHash A SHA256 hash of a unique, single-use data block that embeds a challenge from your server.
+ @param completion A closure that the method calls upon completion with the following parameters:
+ *  * attestationCertificates An array of certificates that verify the validity of the key associated with the keyType. Send this to your server for processing.
+ *  * error A DCError instance that indicates the reason for failure, or nil on success.
+ */
+- (void)attestKey:(ASAuthorizationProviderExtensionKeyType)keyType clientDataHash:(NSData *)clientDataHash completion:(void (^)(NSArray * _Nullable attestationCertificates, NSError * _Nullable error))completion NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(15.4)) API_UNAVAILABLE(ios, watchos, tvos);
+
+/*!
+ @abstract Provides a new or cached attestation for the specified pending key type.
+ @param keyType The pending key type for the attestation.
+ @param clientDataHash A SHA256 hash of a unique, single-use data block that embeds a challenge from your server.
+ @param completion A closure that the method calls upon completion with the following parameters:
+ *  * attestationCertificates An array of certificates that verify the validity of the pending key associated with the keyType. Send this to your server for processing.
+ *  * error A DCError instance that indicates the reason for failure, or nil on success.
+ */
+- (void)attestPendingKey:(ASAuthorizationProviderExtensionKeyType)keyType clientDataHash:(NSData *)clientDataHash completion:(void (^)(NSArray * _Nullable attestationCertificates, NSError * _Nullable error))completion NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(15.4)) API_UNAVAILABLE(ios, watchos, tvos);
+
+
 /*! @abstract Asks authorization service to show extension view controller for registration. If the controller cannot be shown an error is returned.  This is only valid during registration.
 */
 - (void)presentRegistrationViewControllerWithCompletion:(void(^)(NSError * _Nullable error))completion;
diff -ruN /Applications/Xcode_16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h
--- /Applications/Xcode_16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h	2024-11-20 11:25:30
+++ /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h	2025-02-11 06:33:47
@@ -208,6 +208,7 @@
 ///                 ├─ SupportsConditionalPasskeyRegistration => true
 - (void)performPasskeyRegistrationWithoutUserInteractionIfPossible:(ASPasskeyCredentialRequest *)registrationRequest NS_SWIFT_NAME(performWithoutUserInteractionIfPossible(passkeyRegistration:)) AS_API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
 
+
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASFoundation.h /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASFoundation.h
--- /Applications/Xcode_16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASFoundation.h	2024-11-20 11:24:38
+++ /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASFoundation.h	2025-02-11 06:20:10
@@ -36,12 +36,12 @@
 #if __has_include(<UIKit/UIKit.h>)
 #import <UIKit/UIKit.h>
 #if __has_include(<UIKit/UIWindow.h>)
-typedef UIWindow * ASPresentationAnchor;
+typedef UIWindow * ASPresentationAnchor API_UNAVAILABLE(watchos);
 #endif
 #if __has_include(<UIKit/UIViewController.h>) && !defined(ASViewController)
-typedef UIViewController ASViewController;
+typedef UIViewController ASViewController API_UNAVAILABLE(watchos);
 #endif
-typedef UIImage ASImage;
+typedef UIImage ASImage API_UNAVAILABLE(watchos);
 #elif __has_include(<AppKit/AppKit.h>)
 #import <AppKit/AppKit.h>
 typedef NSWindow * ASPresentationAnchor;

Clone this wiki locally