Skip to content

AuthenticationServices macOS xcode16.3 b1

Rolf Bjarne Kvinge edited this page Feb 24, 2025 · 2 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/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;
Clone this wiki locally