-
Notifications
You must be signed in to change notification settings - Fork 516
AuthenticationServices tvOS xcode15.3 b1
Alex Soto edited this page Jan 27, 2024
·
2 revisions
#AuthenticationServices.framework
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationAppleIDCredential.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationAppleIDCredential.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationAppleIDCredential.h 2023-11-13 01:01:26
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationAppleIDCredential.h 2024-01-19 22:11:55
@@ -20,6 +20,16 @@
ASUserDetectionStatusLikelyReal,
};
+/*! @enum ASUserAgeRange
+ @constant ASUserAgeRangeUnknown This is returned if the project is missing the required entitlement to support child accounts.
+ @constant ASUserAgeRangeChild The user is a child.
+ @constant ASUserAgeRangeNotChild The user is not a child.
+ */
+typedef NS_ENUM(NSInteger, ASUserAgeRange) {
+ ASUserAgeRangeUnknown,
+ ASUserAgeRangeChild,
+ ASUserAgeRangeNotChild,
+} API_AVAILABLE(ios(17.0), macos(14.0), tvos(17.0), watchos(10.0));
NS_HEADER_AUDIT_BEGIN(nullability, sendability)
@@ -60,6 +70,9 @@
*/
@property (nonatomic, readonly) ASUserDetectionStatus realUserStatus;
+/*! @abstract Check this property to determine whether the current user is a child. @see ASUserAgeRange for guidelines on handling each status.
+ */
+@property (nonatomic, readonly) ASUserAgeRange userAgeRange API_AVAILABLE(ios(17.0), macos(14.0), tvos(17.0), watchos(10.0));
+ (instancetype)new NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialAssertionRequest.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialAssertionRequest.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialAssertionRequest.h 2023-11-13 01:01:26
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialAssertionRequest.h 2024-01-19 22:00:36
@@ -4,10 +4,9 @@
#import <AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertionRequest.h>
#import <AuthenticationServices/ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput.h>
#import <AuthenticationServices/ASAuthorizationRequest.h>
+#import <AuthenticationServices/ASAuthorizationWebBrowserExternallyAuthenticatableRequest.h>
#import <Foundation/Foundation.h>
-#import <AuthenticationServices/ASAuthorizationWebBrowserExternallyAuthenticatableRequest.h>
-
#import <AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest.h>
AS_HEADER_AUDIT_BEGIN(nullability, sendability)
@@ -30,7 +29,11 @@
@interface ASAuthorizationPlatformPublicKeyCredentialAssertionRequest () <ASAuthorizationWebBrowserExternallyAuthenticatableRequest>
@end
-API_AVAILABLE(macos(13.5), macCatalyst(16.6)) API_UNAVAILABLE(ios, tvos, watchos)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, watchos, visionos)
+#else
+API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, watchos)
+#endif // defined(TARGET_OS_XR) && TARGET_OS_XR
@interface ASAuthorizationPlatformPublicKeyCredentialAssertionRequest () <ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest>
@end
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.h 2023-11-13 01:01:25
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest.h 2024-01-19 22:00:35
@@ -19,7 +19,11 @@
@end
-API_AVAILABLE(macos(13.5), macCatalyst(16.6)) API_UNAVAILABLE(ios, tvos, watchos)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, watchos, visionos)
+#else
+API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, watchos)
+#endif
@interface ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest () <ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest>
@end
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredential.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredential.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredential.h 2023-11-13 01:01:26
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredential.h 2024-01-19 22:00:35
@@ -5,7 +5,7 @@
NS_HEADER_AUDIT_BEGIN(nullability, sendability)
NS_REFINED_FOR_SWIFT
-AS_EXTERN API_AVAILABLE(macos(13.3), macCatalyst(16.4)) API_UNAVAILABLE(ios, tvos, watchos)
+AS_EXTERN API_AVAILABLE(macos(13.3), macCatalyst(16.4), ios(17.4)) API_UNAVAILABLE(tvos, watchos)
@interface ASAuthorizationWebBrowserPlatformPublicKeyCredential : NSObject
+ (instancetype)new NS_UNAVAILABLE;
@@ -15,7 +15,7 @@
@property (nonatomic, readonly) NSString *name;
/// A user-specified title for the credential.
-@property (nonatomic, nullable, readonly) NSString *customTitle API_AVAILABLE(macos(14.0), macCatalyst(17.0));
+@property (nonatomic, nullable, readonly) NSString *customTitle AS_API_AVAILABLE(macos(14.0), macCatalyst(17.0), ios(17.4));
/// The "relying party" (generally website) the credential was saved for.
@property (nonatomic, readonly) NSString *relyingParty;
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest.h 2023-11-13 01:01:26
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest.h 2024-01-19 22:00:35
@@ -6,7 +6,11 @@
AS_HEADER_AUDIT_BEGIN(nullability, sendability)
-API_AVAILABLE(macos(13.5), macCatalyst(16.6)) API_UNAVAILABLE(ios, tvos, watchos)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, watchos, visionos)
+#else
+API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, watchos)
+#endif
@protocol ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest
@property (nonatomic, readonly, nullable) ASPublicKeyCredentialClientData *clientData NS_REFINED_FOR_SWIFT;
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider.h 2023-11-13 01:01:26
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider.h 2024-01-19 22:00:36
@@ -8,7 +8,11 @@
AS_HEADER_AUDIT_BEGIN(nullability, sendability)
-API_AVAILABLE(macos(13.5), macCatalyst(16.6)) API_UNAVAILABLE(ios, tvos, watchos)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, watchos, visionos)
+#else
+API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, watchos)
+#endif
NS_REFINED_FOR_SWIFT
@protocol ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest.h 2023-11-13 01:01:26
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest.h 2024-01-19 22:00:35
@@ -7,14 +7,18 @@
AS_HEADER_AUDIT_BEGIN(nullability, sendability)
-API_AVAILABLE(macos(13.5), macCatalyst(16.6)) API_UNAVAILABLE(ios, tvos, watchos)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, watchos, visionos)
+#else
+API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, watchos)
+#endif
@protocol ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest
@property (nonatomic, readonly, nullable) ASPublicKeyCredentialClientData *clientData NS_REFINED_FOR_SWIFT;
@property (nonatomic, nullable, copy) NSArray<ASAuthorizationPlatformPublicKeyCredentialDescriptor *> *excludedCredentials;
-@property (nonatomic) BOOL shouldShowHybridTransport;
+@property (nonatomic) BOOL shouldShowHybridTransport API_AVAILABLE(macos(13.5), macCatalyst(16.6)) API_UNAVAILABLE(ios, tvos, watchos);
@end
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPublicKeyCredentialManager.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPublicKeyCredentialManager.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPublicKeyCredentialManager.h 2023-11-13 01:01:26
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASAuthorizationWebBrowserPublicKeyCredentialManager.h 2024-01-19 22:00:36
@@ -1,20 +1,29 @@
// Copyright © 2022 Apple Inc. All rights reserved.
+#import <AuthenticationServices/ASFoundation.h>
#import <Foundation/Foundation.h>
NS_HEADER_AUDIT_BEGIN(nullability, sendability)
@class ASAuthorizationWebBrowserPlatformPublicKeyCredential;
-API_AVAILABLE(macos(13.3), macCatalyst(16.4)) API_UNAVAILABLE(ios, tvos, watchos)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+API_AVAILABLE(macos(13.3), macCatalyst(16.4), ios(17.4)) API_UNAVAILABLE(tvos, watchos, visionos)
+#else
+API_AVAILABLE(macos(13.3), macCatalyst(16.4), ios(17.4)) API_UNAVAILABLE(tvos, watchos)
+#endif
typedef NS_ENUM(NSInteger, ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState) {
ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateAuthorized,
ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateDenied,
ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateNotDetermined,
} NS_SWIFT_NAME(ASAuthorizationWebBrowserPublicKeyCredentialManager.AuthorizationState);
-NS_SWIFT_SENDABLE
-AS_EXTERN API_AVAILABLE(macos(13.3), macCatalyst(16.4)) API_UNAVAILABLE(ios, tvos, watchos)
+AS_SWIFT_SENDABLE
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+AS_EXTERN API_AVAILABLE(macos(13.3), macCatalyst(16.4), ios(17.4)) API_UNAVAILABLE(tvos, watchos, visionos)
+#else
+AS_EXTERN API_AVAILABLE(macos(13.3), macCatalyst(16.4), ios(17.4)) API_UNAVAILABLE(tvos, watchos)
+#endif
@interface ASAuthorizationWebBrowserPublicKeyCredentialManager : NSObject
- (instancetype)init NS_DESIGNATED_INITIALIZER;
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialIdentityStore.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialIdentityStore.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialIdentityStore.h 2023-11-13 00:13:54
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialIdentityStore.h 2024-01-19 22:00:35
@@ -14,6 +14,7 @@
@class ASCredentialIdentityStoreState;
@class ASPasswordCredentialIdentity;
+
AS_EXTERN API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(tvos, watchos)
NSErrorDomain const ASCredentialIdentityStoreErrorDomain;
@@ -28,6 +29,7 @@
ASCredentialIdentityStoreErrorCodeStoreBusy = 2,
} API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(tvos, watchos);
+
AS_EXTERN API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(tvos, watchos)
@interface ASCredentialIdentityStore : NSObject
@@ -44,6 +46,7 @@
- (void)getCredentialIdentityStoreStateWithCompletion:(void (^)(ASCredentialIdentityStoreState *state))completion
NS_SWIFT_ASYNC_NAME(state())
;
+
/*! @abstract Save the given credential identities to the store.
@param credentialIdentities array of ASPasswordCredentialIdentity objects to save to the store.
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderExtensionContext.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderExtensionContext.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderExtensionContext.h 2023-11-13 01:01:25
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderExtensionContext.h 2024-01-19 22:00:35
@@ -9,6 +9,8 @@
#import <AuthenticationServices/ASFoundation.h>
#import <Foundation/Foundation.h>
+
+
@class ASPasswordCredential;
NS_ASSUME_NONNULL_BEGIN
@@ -26,6 +28,7 @@
- (void)completeRequestWithSelectedCredential:(ASPasswordCredential *)credential completionHandler:(void(^ _Nullable)(BOOL expired))completionHandler
NS_SWIFT_DISABLE_ASYNC
;
+
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h 2023-11-13 01:01:25
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASCredentialProviderViewController.h 2024-01-19 22:00:35
@@ -14,6 +14,7 @@
NS_ASSUME_NONNULL_BEGIN
+
AS_EXTERN API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(tvos, watchos)
@interface ASCredentialProviderViewController : ASViewController
@@ -31,6 +32,8 @@
- (void)prepareCredentialListForServiceIdentifiers:(NSArray<ASCredentialServiceIdentifier *> *)serviceIdentifiers;
+
+
/*! @abstract Attempt to provide the user-requested credential without any user interaction.
@param credentialIdentity the credential identity for which a credential should be provided.
@discussion After the user selects a credential identity, the system may ask your extension to provide the credential without showing any
@@ -60,7 +63,6 @@
*/
- (void)prepareInterfaceToProvideCredentialForIdentity:(ASPasswordCredentialIdentity *)credentialIdentity
;
-
/*! @abstract Prepare the view controller to show user interface when the user enables your extension.
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASFoundation.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASFoundation.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASFoundation.h 2023-11-13 01:01:25
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASFoundation.h 2024-01-19 22:00:35
@@ -21,6 +21,12 @@
#define AS_HEADER_AUDIT_END(...) NS_ASSUME_NONNULL_END
#endif
+#ifdef NS_SWIFT_SENDABLE
+#define AS_SWIFT_SENDABLE NS_SWIFT_SENDABLE
+#else
+#define AS_SWIFT_SENDABLE
+#endif
+
#ifdef __AS_INTERNAL_AVAILABILITY
#define AS_API_AVAILABLE(...)
#else
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASPublicKeyCredentialClientData.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASPublicKeyCredentialClientData.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASPublicKeyCredentialClientData.h 2023-11-13 01:01:25
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASPublicKeyCredentialClientData.h 2024-01-19 22:00:35
@@ -5,7 +5,11 @@
AS_HEADER_AUDIT_BEGIN(nullability, sendability)
NS_REFINED_FOR_SWIFT
-AS_API_AVAILABLE(macos(13.5), macCatalyst(16.6)) API_UNAVAILABLE(ios, tvos) API_UNAVAILABLE(watchos)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+AS_API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, visionos) API_UNAVAILABLE(watchos)
+#else
+AS_API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos)
+#endif
typedef NS_ENUM(NSInteger, ASPublicKeyCredentialClientDataCrossOriginValue) {
ASPublicKeyCredentialClientDataCrossOriginValueNotSet,
ASPublicKeyCredentialClientDataCrossOriginValueCrossOrigin,
@@ -13,7 +17,11 @@
};
NS_REFINED_FOR_SWIFT AS_EXTERN
-AS_API_AVAILABLE(macos(13.5), macCatalyst(16.6)) API_UNAVAILABLE(ios, tvos) API_UNAVAILABLE(watchos)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+AS_API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos, visionos) API_UNAVAILABLE(watchos)
+#else
+AS_API_AVAILABLE(macos(13.5), macCatalyst(16.6), ios(17.4)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos)
+#endif
/// This object represents the client data for a public key credential request, as defined in the WebAuthentication standard.
@interface ASPublicKeyCredentialClientData : NSObject
+ (instancetype)new NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSession.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSession.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSession.h 2023-11-13 01:20:29
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSession.h 2024-01-19 22:00:36
@@ -8,6 +8,8 @@
#import <AuthenticationServices/ASFoundation.h>
#import <Foundation/Foundation.h>
+@class ASWebAuthenticationSessionCallback;
+
NS_ASSUME_NONNULL_BEGIN
@protocol ASWebAuthenticationPresentationContextProviding;
@@ -64,8 +66,10 @@
@param callbackURLScheme the custom URL scheme that the app expects in the callback URL.
@param completionHandler the completion handler which is called when the session is completed successfully or canceled by user.
*/
-- (instancetype)initWithURL:(NSURL *)URL callbackURLScheme:(nullable NSString *)callbackURLScheme completionHandler:(ASWebAuthenticationSessionCompletionHandler)completionHandler;
+- (instancetype)initWithURL:(NSURL *)URL callbackURLScheme:(nullable NSString *)callbackURLScheme completionHandler:(ASWebAuthenticationSessionCompletionHandler)completionHandler API_DEPRECATED("Use initWithURL:callback:completionHandler: instead", ios(12.0, API_TO_BE_DEPRECATED), macCatalyst(13.0, API_TO_BE_DEPRECATED), macos(10.15, API_TO_BE_DEPRECATED), watchos(6.2, API_TO_BE_DEPRECATED), tvos(16.0, API_TO_BE_DEPRECATED));
+- (instancetype)initWithURL:(NSURL *)URL callback:(ASWebAuthenticationSessionCallback *)callback completionHandler:(ASWebAuthenticationSessionCompletionHandler)completionHandler API_AVAILABLE(ios(17.4), macos(14.4), watchos(10.4), tvos(17.4), visionos(1.1));
+
/*! @abstract Provides context to target where in an application's UI the authorization view should be shown. A provider
must be set prior to calling -start, otherwise the authorization view cannot be displayed. If deploying to iOS prior to
13.0, the desired window is inferred by the application's key window.
@@ -77,6 +81,10 @@
This value is NO by default. Setting this property after calling -[ASWebAuthenticationSession start] has no effect.
*/
@property (nonatomic) BOOL prefersEphemeralWebBrowserSession API_AVAILABLE(ios(13.0), macos(10.15), watchos(6.2)) API_UNAVAILABLE(tvos);
+
+/// Any additional header fields to be set when loading the initial URL.
+/// All header field names must start with the "X-" prefix.
+@property (nonatomic, nullable) NSDictionary<NSString *, NSString *> *additionalHeaderFields API_AVAILABLE(ios(17.4), macos(14.4), tvos(17.4), watchos(10.4), visionos(1.1));
/*! @abstract Returns whether the session can be successfully started. This property returns the same value as calling -start,
but without the side effect of actually starting the session.
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSessionCallback.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSessionCallback.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSessionCallback.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSessionCallback.h 2024-01-19 22:00:36
@@ -0,0 +1,35 @@
+// Copyright © 2023 Apple Inc. All rights reserved.
+
+#import <AuthenticationServices/ASFoundation.h>
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// An object used to evaluate navigation events in an authentication session. When the session navigates
+/// to a matching URL, it will pass the URL to the session completion handler.
+API_AVAILABLE(ios(17.4), macos(14.4), watchos(10.4), tvos(17.4), visionos(1.1))
+NS_SWIFT_NAME(ASWebAuthenticationSession.Callback)
+AS_SWIFT_SENDABLE
+@interface ASWebAuthenticationSessionCallback : NSObject
+
+/// Creates a callback object that matches against URLs with the given custom scheme.
+/// @param customScheme The custom scheme that the app expects in the callback URL.
++ (instancetype)callbackWithCustomScheme:(NSString *)customScheme NS_SWIFT_NAME(customScheme(_:));
+
+/// Creates a callback object that matches against HTTPS URLs with the given host and path.
+/// @param host The host that the app expects in the callback URL. The host must be associated with the
+/// app using associated web credentials domains.
+/// @param path The path that the app expects in the callback URL.
++ (instancetype)callbackWithHTTPSHost:(NSString *)host path:(NSString *)path NS_SWIFT_NAME(https(host:path:));
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/// Check whether a given main-frame navigation URL matches the callback expected by the client app. Handles all URL-based callback strategies, including custom schemes and HTTPS navigations.
+/// This is mainly meant for web browsers adopting the ASWebAuthenticationWebBrowser API, but may also be useful for other apps for debugging purposes.
+/// @param url The URL to check.
+- (BOOL)matchesURL:(NSURL *)url;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSessionRequest.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSessionRequest.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSessionRequest.h 2023-11-13 01:01:25
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSessionRequest.h 2024-01-19 22:00:35
@@ -11,6 +11,8 @@
@class ASWebAuthenticationSessionRequest;
+@class ASWebAuthenticationSessionCallback;
+
AS_EXTERN API_AVAILABLE(macCatalyst(13.0), macos(10.15)) API_UNAVAILABLE(ios, tvos)
@protocol ASWebAuthenticationSessionRequestDelegate <NSObject>
@optional
@@ -23,9 +25,22 @@
@property (readonly, nonatomic) NSUUID *UUID;
@property (readonly, nonatomic) NSURL *URL;
-@property (nullable, readonly, nonatomic, copy) NSString *callbackURLScheme;
+
+@property (nullable, readonly, nonatomic, copy) NSString *callbackURLScheme API_DEPRECATED("Use `callback` to match all callback types.", macCatalyst(13.0, 17.4), macosx(10.15, 14.4));
+
@property (readonly, nonatomic) BOOL shouldUseEphemeralSession;
@property (nullable, nonatomic, weak) id<ASWebAuthenticationSessionRequestDelegate> delegate;
+
+/// Additional headers to be sent when loading the initial URL.
+/// These should _only_ apply to the initial page, and should not overwrite any headers normally sent by the browser.
+/// Add `AdditionalHeaderFieldsAreSupported: true` to `ASWebAuthenticationSessionWebBrowserSupportCapabilities` in your browser's Info.plist file to indicate support for this.
+@property (nonatomic, nullable, readonly) NSDictionary<NSString *, NSString *> *additionalHeaderFields API_AVAILABLE(macCatalyst(17.4), macos(14.4));
+
+/// The callback to listen for to complete this request.
+/// Check all main-frame navigations loaded during the request with this callback. It is used to handle all callback types, including custom schemes and HTTPS navigations.
+/// When a match is found, invoke `-completeWithCallbackURL:` with that URL.
+/// Add `CallbackURLMatchingIsSupported: true` to `ASWebAuthenticationSessionWebBrowserSupportCapabilities` in your browser's Info.plist file to indicate support for this.
+@property (nonatomic, nullable, readonly) ASWebAuthenticationSessionCallback *callback API_AVAILABLE(macCatalyst(17.4), macos(14.4));
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/AuthenticationServices.h /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/AuthenticationServices.h
--- /Applications/Xcode_15.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/AuthenticationServices.h 2023-11-13 00:13:52
+++ /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/AuthenticationServices.h 2024-01-20 18:16:45
@@ -72,6 +72,9 @@
#import <AuthenticationServices/ASAuthorizationSecurityKeyPublicKeyCredentialProvider.h>
#import <AuthenticationServices/ASAuthorizationSecurityKeyPublicKeyCredentialRegistration.h>
#import <AuthenticationServices/ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest.h>
+#import <AuthenticationServices/ASAuthorizationWebBrowserExternallyAuthenticatableRequest.h>
+#import <AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredential.h>
+#import <AuthenticationServices/ASAuthorizationWebBrowserPublicKeyCredentialManager.h>
#import <AuthenticationServices/ASCOSEConstants.h>
#import <AuthenticationServices/ASPublicKeyCredential.h>
@@ -79,13 +82,11 @@
-#import <AuthenticationServices/ASAuthorizationWebBrowserExternallyAuthenticatableRequest.h>
-#import <AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredential.h>
-#import <AuthenticationServices/ASAuthorizationWebBrowserPublicKeyCredentialManager.h>
-
#import <AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest.h>
#import <AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider.h>
#import <AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest.h>
#import <AuthenticationServices/ASPublicKeyCredentialClientData.h>
+
+#import <AuthenticationServices/ASWebAuthenticationSessionCallback.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status