- Notifications
You must be signed in to change notification settings - Fork 548
AuthenticationServices iOS xcode26.0 b1
Rolf Bjarne Kvinge edited this page Aug 8, 2025 · 3 revisions
#AuthenticationServices.framework https://github.com/dotnet/macios/pull/23529
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationController.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationController.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationController.h 2025-05-03 22:42:21 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationController.h 2025-06-02 01:16:18 @@ -14,6 +14,7 @@ @class ASAuthorization; @class ASAuthorizationRequest; @class ASAuthorizationController; +@class ASCPublicKeyAccountRegistrationOptions; NS_SWIFT_UI_ACTOR AS_EXTERN API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0), watchos(6.0)) diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationError.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationError.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationError.h 2025-05-03 22:35:51 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationError.h 2025-05-31 01:08:33 @@ -27,6 +27,12 @@ ASAuthorizationErrorCredentialImport AS_API_AVAILABLE(ios(18.2), macos(15.2), visionos(2.2)) = 1007, /// This error signals that the export request failed. Details will be available in the `userInfo` of the NSError. ASAuthorizationErrorCredentialExport AS_API_AVAILABLE(ios(18.2), macos(15.2), visionos(2.2)) = 1008, + + /// This error signals the user has an existing Sign in with Apple account that they would prefer to use instead of continuing the current request. + ASAuthorizationErrorPreferSignInWithApple AS_API_AVAILABLE(ios(19.0), macos(16.0), visionos(3.0)) = 1009, + + /// This error signals that the device is not currently set up to create passkeys. + ASAuthorizationErrorDeviceNotConfiguredForPasskeyCreation AS_API_AVAILABLE(ios(19.0), macos(16.0), visionos(3.0)) = 1010, } API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0), watchos(6.0)); NS_HEADER_AUDIT_END(nullability, sendability) diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredential.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredential.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredential.h 2025-05-03 22:35:52 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredential.h 2025-05-31 01:08:33 @@ -26,8 +26,8 @@ /// A unique identifier for the user account associated with this credential. One account may have multiple associated credentials. @property (nonatomic, readonly) NSData *userHandle; -/// The localized name of the credential provider that provided this passkey, either the name of a third party app or "iCloud Keychain". -@property (nonatomic, readonly) NSString *providerName; +/// The localized name of the credential provider that provided this passkey. +@property (nonatomic, readonly) NSString *providerName API_AVAILABLE(macos(14.0), macCatalyst(17.0)); @end diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h 2025-05-03 22:26:07 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h 2025-05-31 01:03:06 @@ -223,6 +223,82 @@ /// ├─ 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); +/// Receive report when a relying party indicates that a passkey's user name was updated. +/// +/// This method will be called for handling passkey updates when a relying party reports an update using the `ASCredentialUpdater` API. +/// This update should be handled in the background, so no blocking UI or error should ever be shown. +/// +/// - Parameter relyingParty: Relying party (website) that the crendential is saved for. +/// - Parameter userHandle: User identifier. +/// - Parameter newName: The new user name for the credential. +/// +/// To indicate support for this feature, add `SupportsCredentialUpdate` under the +/// `ASCredentialProviderExtensionCapabilities` dictionary. +/// +/// Info.plist +/// ├─ NSExtension +/// ├─ NSExtensionAttributes +/// ├─ ASCredentialProviderExtensionCapabilities +/// ├─ SupportsCredentialUpdate => true +- (void)reportPublicKeyCredentialUpdateForRelyingParty:(NSString *)relyingParty userHandle:(NSData *)userHandle newName:(NSString *)newName; + +/// Receive report when a relying party indicates an invalid passkey credential. +/// +/// This method will be called for handling passkey updates when a relying party reports the credential is no longer valid using the `ASCredentialUpdater` API. +/// You may hide or remove this credential. +/// This update should be handled in the background, so no blocking UI or error should ever be shown. +/// +/// - Parameter relyingParty: Relying party (website) that the crendential is saved for. +/// - Parameter credentialID: An identifier that uniquely identifies the passkey. +/// +/// To indicate support for this feature, add `SupportsCredentialUpdate` under the +/// `ASCredentialProviderExtensionCapabilities` dictionary. +/// +/// Info.plist +/// ├─ NSExtension +/// ├─ NSExtensionAttributes +/// ├─ ASCredentialProviderExtensionCapabilities +/// ├─ SupportsCredentialUpdate => true +- (void)reportUnknownPublicKeyCredentialForRelyingParty:(NSString *)relyingParty credentialID:(NSData *)credentialID; + +/// Receive report when relying party sends a snapshot of all the accepted credentials for an account. +/// +/// This method will be called for handling passkey updates when a relying party sends a list of accepted credentials using the `ASCredentialUpdater` API. +/// You may hide or remove any credential not present in the accepted credentials list. +/// This update should be handled in the background, so no blocking UI or error should ever be shown. +/// +/// - Parameter relyingParty: Relying party (website) that the crendential is saved for. +/// - Parameter userHandle: User identifier. +/// - Parameter acceptedCredentialIDs: An array of identifiers that uniquely identifies the accepted credentials. +/// +/// To indicate support for this feature, add `SupportsCredentialUpdate` under the +/// `ASCredentialProviderExtensionCapabilities` dictionary. +/// +/// Info.plist +/// ├─ NSExtension +/// ├─ NSExtensionAttributes +/// ├─ ASCredentialProviderExtensionCapabilities +/// ├─ SupportsCredentialUpdate => true +- (void)reportAllAcceptedPublicKeyCredentialsForRelyingParty:(NSString *)relyingParty userHandle:(NSData *)userHandle acceptedCredentialIDs:(NSArray<NSData *> *)acceptedCredentialIDs; + +/// Receive report when relying party indicates a password credential is no longer needed for a given user name. +/// +/// This method will be called for handling password credential updates when a relying party indicates a password is no longer needed using the `ASCredentialUpdater` API. +/// You may hide or remove the credential. +/// This update should be handled in the background, so no blocking UI or error should ever be shown. +/// +/// - Parameter domain: The website domain that the credential is saved for. +/// - Parameter userName: The account user name. +/// +/// To indicate support for this feature, add `SupportsCredentialUpdate` under the +/// `ASCredentialProviderExtensionCapabilities` dictionary. +/// +/// Info.plist +/// ├─ NSExtension +/// ├─ NSExtensionAttributes +/// ├─ ASCredentialProviderExtensionCapabilities +/// ├─ SupportsCredentialUpdate => true +- (void)reportUnusedPasswordCredentialForDomain:(NSString *)domain userName:(NSString *)userName; @end