forked from phracker/MacOSX-SDKs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35,380 changed files
with
11,239,993 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"DefaultVariant":"macos","DisplayName":"macOS 13.3","MinimalDisplayName":"13.3","DefaultProperties":{"DEFAULT_COMPILER":"com.apple.compilers.llvm.clang.1_0","AD_HOC_CODE_SIGNING_ALLOWED":"YES","TEST_LIBRARY_SEARCH_PATHS":"$(inherited) $(PLATFORM_DIR)\/Developer\/$(TEST_FRAMEWORK_DEVELOPER_VARIANT_SUBPATH)usr\/lib","DEPLOYMENT_TARGET_SUGGESTED_VALUES":["10.13","10.14","10.15","11.0","11.1","11.2","11.3","11.4","11.5","12.0","12.2","12.3","12.4","13.0","13.1","13.2","13.3"],"TEST_FRAMEWORK_SEARCH_PATHS":"$(inherited) $(PLATFORM_DIR)\/Developer\/$(TEST_FRAMEWORK_DEVELOPER_VARIANT_SUBPATH)Library\/Frameworks","CODE_SIGN_IDENTITY":"Apple Development","IOS_UNZIPPERED_TWIN_PREFIX_PATH":"\/System\/iOSSupport","CODE_SIGNING_REQUIRED":"YES","KASAN_DEFAULT_CFLAGS[arch=arm64e]":"$(KASAN_CFLAGS_TBI)","MACOSX_DEPLOYMENT_TARGET":"13.3","ENTITLEMENTS_DESTINATION":"Signature","PLATFORM_NAME":"macosx","ENTITLEMENTS_REQUIRED":"YES","CODE_SIGN_ENTITLEMENTS":"","KASAN_CFLAGS_TBI":"-DKASAN=1 -DKASAN_TBI=1 -fsanitize=kernel-hwaddress -mllvm -hwasan-recover=0 -mllvm -hwasan-instrument-atomics=0 -mllvm -hwasan-instrument-stack=1 -mllvm -hwasan-uar-retag-to-zero=1 -mllvm -hwasan-generate-tags-with-calls=1 -mllvm -hwasan-instrument-with-calls=1 -mllvm -hwasan-use-short-granules=0 -mllvm -hwasan-memory-access-callback-prefix=__asan_","KASAN_DEFAULT_CFLAGS[arch=arm64]":"$(KASAN_CFLAGS_TBI)","KASAN_DEFAULT_CFLAGS":"$(KASAN_CFLAGS_CLASSIC)","KASAN_CFLAGS_CLASSIC":"-DKASAN=1 -DKASAN_CLASSIC=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow"},"IsBaseSDK":"YES","SupportedTargets":{"iosmac":{"LLVMTargetTripleVendor":"apple","DeploymentTargetSettingName":"IPHONEOS_DEPLOYMENT_TARGET","Archs":["x86_64","x86_64h","arm64","arm64e"],"SwiftConcurrencyMinimumDeploymentTarget":"15.0","LLVMTargetTripleEnvironment":"macabi","ClangRuntimeLibraryPlatformName":"osx","MaximumDeploymentTarget":"16.4.99","BuildVersionPlatformID":"6","DefaultDeploymentTarget":"16.4","LLVMTargetTripleSys":"ios","DeviceFamilies":[{"Identifier":"2","Name":"pad","DisplayName":"iPad"},{"Identifier":"6","Name":"mac","DisplayName":"Mac"}],"MinimumDeploymentTarget":"13.1","SwiftOSRuntimeMinimumDeploymentTarget":"12.2","RecommendedDeploymentTarget":"13.1","SystemPrefix":"\/System\/iOSSupport","ValidDeploymentTargets":["13.1","13.2","13.3","13.3.1","13.4","13.5","14.0","14.1","14.2","14.3","14.4","14.5","14.6","14.7","15.0","15.2","15.3","15.4","15.5","15.6","16.0","16.1","16.2","16.3","16.4"]},"macosx":{"LLVMTargetTripleVendor":"apple","DeploymentTargetSettingName":"MACOSX_DEPLOYMENT_TARGET","Archs":["x86_64","x86_64h","arm64","arm64e"],"SwiftConcurrencyMinimumDeploymentTarget":"12.0","LLVMTargetTripleEnvironment":"","ClangRuntimeLibraryPlatformName":"osx","MaximumDeploymentTarget":"13.3.99","BuildVersionPlatformID":"1","DefaultDeploymentTarget":"13.3","LLVMTargetTripleSys":"macos","DeviceFamilies":[{"Name":"mac","DisplayName":"Mac"}],"MinimumDeploymentTarget":"10.13","SwiftOSRuntimeMinimumDeploymentTarget":"10.14.4","RecommendedDeploymentTarget":"10.14.6","PlatformFamilyName":"macOS","SystemPrefix":"","ValidDeploymentTargets":["10.13","10.14","10.15","11.0","11.1","11.2","11.3","11.4","11.5","12.0","12.2","12.3","12.4","13.0","13.1","13.2","13.3"]}},"Version":"13.3","PropertyConditionFallbackNames":[],"VersionMap":{"iOSMac_macOS":{"15.0":"12.0","13.3.1":"10.15.3","16.2":"13.1","14.3":"11.1","15.5":"12.4","13.1":"10.15","16.0":"13.0","14.1":"11.0","15.3":"12.2","14.6":"11.4","13.4":"10.15.4","16.3":"13.2","15.6":"12.5","13.2":"10.15.1","14.4":"11.2","16.1":"13.0","14.2":"11.0","15.4":"12.3","13.5":"10.15.5","14.7":"11.5","15.2":"12.1","14.0":"11.0","16.4":"13.3","13.3":"10.15.2","14.5":"11.3"},"macOS_iOSMac":{"11.4":"14.6","13.1":"16.2","12.4":"15.5","11.2":"14.4","12.0.1":"15.0","10.15.1":"13.2","11.0":"14.2","10.15":"13.1","12.2":"15.3","10.15.2":"13.3","11.5":"14.7","12.0":"15.0","13.2":"16.3","10.15.3":"13.3.1","11.3":"14.5","12.5":"15.6","13.0":"16.1","10.15.4":"13.4","11.1":"14.3","12.3":"15.4","10.15.5":"13.5","11.0.1":"14.2","12.1":"15.2","13.3":"16.4"}},"DefaultDeploymentTarget":"13.3","MaximumDeploymentTarget":"13.3.99","Variants":[{"Name":"macos","BuildSettings":{"_BOOL_":"NO","_IS_EMPTY_":"YES","CODE_SIGN_IDENTITY":"$(CODE_SIGN_IDENTITY_$(_DEVELOPMENT_TEAM_IS_EMPTY))","LLVM_TARGET_TRIPLE_OS_VERSION_YES":"macos13.3","_DEVELOPMENT_TEAM_IS_EMPTY":"$(_BOOL_$(_IS_EMPTY_$(DEVELOPMENT_TEAM)))","LLVM_TARGET_TRIPLE_OS_VERSION":"$(LLVM_TARGET_TRIPLE_OS_VERSION_$(_MACOSX_DEPLOYMENT_TARGET_IS_EMPTY))","LLVM_TARGET_TRIPLE_OS_VERSION_NO":"macos$(MACOSX_DEPLOYMENT_TARGET)","_BOOL_YES":"YES","CODE_SIGN_IDENTITY_YES":"-","CODE_SIGN_IDENTITY_NO":"Apple Development","_MACOSX_DEPLOYMENT_TARGET_IS_EMPTY":"$(_BOOL_$(_IS_EMPTY_$(MACOSX_DEPLOYMENT_TARGET)))","_BOOL_NO":"NO","IPHONEOS_DEPLOYMENT_TARGET":"16.4","LLVM_TARGET_TRIPLE_SUFFIX":""}},{"Name":"iosmac","BuildSettings":{"_BOOL_NO":"NO","SYSTEM_HEADER_SEARCH_PATHS":"$(inherited) $(SDKROOT)$(IOS_UNZIPPERED_TWIN_PREFIX_PATH)\/usr\/include","SYSTEM_FRAMEWORK_SEARCH_PATHS":"$(inherited) $(SDKROOT)$(IOS_UNZIPPERED_TWIN_PREFIX_PATH)\/System\/Library\/Frameworks","SWIFT_DEPLOYMENT_TARGET":"$(IPHONEOS_DEPLOYMENT_TARGET)","_BOOL_":"NO","LLVM_TARGET_TRIPLE_OS_VERSION_YES":"ios16.4","_IS_EMPTY_":"YES","LIBRARY_SEARCH_PATHS":"$(inherited) $(SDKROOT)$(IOS_UNZIPPERED_TWIN_PREFIX_PATH)\/usr\/lib $(TOOLCHAIN_DIR)\/usr\/lib\/swift\/maccatalyst","TARGETED_DEVICE_FAMILY":"2","RESOURCES_UI_FRAMEWORK_FAMILY":"uikit","LLVM_TARGET_TRIPLE_SUFFIX":"-macabi","RESOURCES_MINIMUM_DEPLOYMENT_TARGET":"$(IPHONEOS_DEPLOYMENT_TARGET)","_BOOL_YES":"YES","_IPHONEOS_DEPLOYMENT_TARGET_IS_EMPTY":"$(_BOOL_$(_IS_EMPTY_$(IPHONEOS_DEPLOYMENT_TARGET)))","IPHONEOS_DEPLOYMENT_TARGET":"16.4","CODE_SIGN_IDENTITY":"Apple Development","LLVM_TARGET_TRIPLE_OS_VERSION":"$(LLVM_TARGET_TRIPLE_OS_VERSION_$(_IPHONEOS_DEPLOYMENT_TARGET_IS_EMPTY))","RESOURCES_PLATFORM_NAME":"macosx","ENABLE_HARDENED_RUNTIME":"YES","LLVM_TARGET_TRIPLE_OS_VERSION_NO":"ios$(IPHONEOS_DEPLOYMENT_TARGET)"}}],"DebuggerOptions":{"SupportsViewDebugging":"YES"},"CanonicalName":"macosx13.3","CustomProperties":{"KERNEL_EXTENSION_HEADER_SEARCH_PATHS":"$(KERNEL_FRAMEWORK)\/PrivateHeaders $(KERNEL_FRAMEWORK_HEADERS)"}} |
Binary file not shown.
1 change: 1 addition & 0 deletions
1
.../OS/System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices.tbd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/AuthenticationServices.tbd |
1 change: 1 addition & 0 deletions
1
...dk/System/Cryptexes/OS/System/Library/Frameworks/AuthenticationServices.framework/Headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Headers |
1 change: 1 addition & 0 deletions
1
...dk/System/Cryptexes/OS/System/Library/Frameworks/AuthenticationServices.framework/Modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Modules |
77 changes: 77 additions & 0 deletions
77
...Library/Frameworks/AuthenticationServices.framework/Versions/A/AuthenticationServices.tbd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
--- !tapi-tbd | ||
tbd-version: 4 | ||
targets: [ x86_64-macos, arm64-macos, arm64e-macos ] | ||
install-name: '/System/Library/Frameworks/AuthenticationServices.framework/Versions/A/AuthenticationServices' | ||
current-version: 615.1.26 | ||
swift-abi-version: 7 | ||
exports: | ||
- targets: [ x86_64-macos, arm64-macos, arm64e-macos ] | ||
symbols: [ '_$s22AuthenticationServices52ASAuthorizationWebBrowserPlatformPublicKeyCredentialV10userHandle10Foundation4DataVvg', | ||
'_$s22AuthenticationServices52ASAuthorizationWebBrowserPlatformPublicKeyCredentialV10userHandle10Foundation4DataVvpMV', | ||
'_$s22AuthenticationServices52ASAuthorizationWebBrowserPlatformPublicKeyCredentialV12credentialID10Foundation4DataVvg', | ||
'_$s22AuthenticationServices52ASAuthorizationWebBrowserPlatformPublicKeyCredentialV12credentialID10Foundation4DataVvpMV', | ||
'_$s22AuthenticationServices52ASAuthorizationWebBrowserPlatformPublicKeyCredentialV12relyingPartySSvg', | ||
'_$s22AuthenticationServices52ASAuthorizationWebBrowserPlatformPublicKeyCredentialV12relyingPartySSvpMV', | ||
'_$s22AuthenticationServices52ASAuthorizationWebBrowserPlatformPublicKeyCredentialV4nameSSvg', | ||
'_$s22AuthenticationServices52ASAuthorizationWebBrowserPlatformPublicKeyCredentialV4nameSSvpMV', | ||
'_$s22AuthenticationServices52ASAuthorizationWebBrowserPlatformPublicKeyCredentialVMa', | ||
'_$s22AuthenticationServices52ASAuthorizationWebBrowserPlatformPublicKeyCredentialVMn', | ||
'_$s22AuthenticationServices52ASAuthorizationWebBrowserPlatformPublicKeyCredentialVN', | ||
'_$sSo51ASAuthorizationWebBrowserPublicKeyCredentialManagerC22AuthenticationServicesE19platformCredentials15forRelyingPartySayAC0abc8PlatformdeF0VGSS_tYaF', | ||
'_$sSo51ASAuthorizationWebBrowserPublicKeyCredentialManagerC22AuthenticationServicesE19platformCredentials15forRelyingPartySayAC0abc8PlatformdeF0VGSS_tYaFTu', | ||
_ASAuthorizationAllSupportedPublicKeyCredentialDescriptorTransports, | ||
_ASAuthorizationAppleIDProviderCredentialRevokedNotification, | ||
_ASAuthorizationErrorDomain, _ASAuthorizationOperationImplicit, | ||
_ASAuthorizationOperationLogin, _ASAuthorizationOperationLogout, | ||
_ASAuthorizationOperationRefresh, _ASAuthorizationProviderAuthorizationOperationConfigurationRemoved, | ||
_ASAuthorizationProviderAuthorizationOperationDirectRequest, | ||
_ASAuthorizationPublicKeyCredentialAttestationKindDirect, | ||
_ASAuthorizationPublicKeyCredentialAttestationKindEnterprise, | ||
_ASAuthorizationPublicKeyCredentialAttestationKindIndirect, | ||
_ASAuthorizationPublicKeyCredentialAttestationKindNone, _ASAuthorizationPublicKeyCredentialResidentKeyPreferenceDiscouraged, | ||
_ASAuthorizationPublicKeyCredentialResidentKeyPreferencePreferred, | ||
_ASAuthorizationPublicKeyCredentialResidentKeyPreferenceRequired, | ||
_ASAuthorizationPublicKeyCredentialUserVerificationPreferenceDiscouraged, | ||
_ASAuthorizationPublicKeyCredentialUserVerificationPreferencePreferred, | ||
_ASAuthorizationPublicKeyCredentialUserVerificationPreferenceRequired, | ||
_ASAuthorizationScopeEmail, _ASAuthorizationScopeFullName, | ||
_ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportBluetooth, | ||
_ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportNFC, | ||
_ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportUSB, | ||
_ASCredentialIdentityStoreErrorDomain, _ASExtensionErrorDomain, | ||
_ASPasswordManagerIconBundlePath, _ASWebAuthenticationSessionErrorDomain, | ||
_ASWebAuthenticationSessionWebBrowserSupportCapabilitiesKey, | ||
_ASWebAuthenticationSessionWebBrowserSupportCapabilityIsSupportedKey, | ||
_ASWebAuthenticationSessionWebBrowserSupportCapabilitySupportsEphemeralBrowserSessionKey, | ||
_AuthenticationServicesAgentMain, __authenticationSessionRequestServerErrorDomain, | ||
_asTransportToWKTransport ] | ||
objc-classes: [ ASAuthorization, ASAuthorizationAppleIDButton, ASAuthorizationAppleIDCredential, | ||
ASAuthorizationAppleIDProvider, ASAuthorizationAppleIDRequest, | ||
ASAuthorizationController, ASAuthorizationOpenIDRequest, ASAuthorizationPasswordProvider, | ||
ASAuthorizationPasswordRequest, ASAuthorizationPlatformPublicKeyCredentialAssertion, | ||
ASAuthorizationPlatformPublicKeyCredentialAssertionRequest, | ||
ASAuthorizationPlatformPublicKeyCredentialDescriptor, ASAuthorizationPlatformPublicKeyCredentialProvider, | ||
ASAuthorizationPlatformPublicKeyCredentialRegistration, ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest, | ||
ASAuthorizationProviderExtensionAuthorizationRequest, ASAuthorizationProviderExtensionAuthorizationResult, | ||
ASAuthorizationProviderExtensionKerberosMapping, ASAuthorizationProviderExtensionLoginConfiguration, | ||
ASAuthorizationProviderExtensionLoginManager, ASAuthorizationPublicKeyCredentialParameters, | ||
ASAuthorizationRequest, ASAuthorizationSecurityKeyPublicKeyCredentialAssertion, | ||
ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest, | ||
ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor, ASAuthorizationSecurityKeyPublicKeyCredentialProvider, | ||
ASAuthorizationSecurityKeyPublicKeyCredentialRegistration, | ||
ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest, | ||
ASAuthorizationSingleSignOnCredential, ASAuthorizationSingleSignOnProvider, | ||
ASAuthorizationSingleSignOnRequest, ASAuthorizationViewController, | ||
ASAuthorizationWebBrowserPlatformPublicKeyCredential, ASAuthorizationWebBrowserPublicKeyCredentialManager, | ||
ASCredentialIdentityStore, ASCredentialIdentityStoreState, | ||
ASCredentialProviderExtensionContext, ASCredentialProviderViewController, | ||
ASCredentialServiceIdentifier, ASPasswordCredential, ASPasswordCredentialIdentity, | ||
ASWebAuthenticationSession, ASWebAuthenticationSessionRequest, | ||
ASWebAuthenticationSessionRequestClient, ASWebAuthenticationSessionWebBrowserSessionManager, | ||
_ASAccountManagerTipContent, _ASAccountManagerTipManager, | ||
_ASCredentialAuthenticationViewController, _ASCredentialListViewController, | ||
_ASCredentialProviderExtensionConfigurationViewController, | ||
_ASExtensionViewController, _ASIncomingCallObserver, _ASPasskeysLearnMoreContent, | ||
_ASPasswordManagerDeleteAlertConfiguration, _ASPasswordManagerIconController, | ||
_ASPasswordManagerMacFrameworksTrampoline, _ASWebAuthenticationSessionRequestServer ] | ||
... |
53 changes: 53 additions & 0 deletions
53
...tionServices.framework/Versions/A/Headers/ASAccountAuthenticationModificationController.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// | ||
// ASAccountAuthenticationModificationController.h | ||
// AuthenticationServices Framework | ||
// | ||
// Copyright © 2020 Apple Inc. All rights reserved. | ||
// | ||
|
||
#import <AuthenticationServices/ASFoundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@class ASAccountAuthenticationModificationController; | ||
@class ASAccountAuthenticationModificationRequest; | ||
|
||
AS_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, tvos, watchos) | ||
@protocol ASAccountAuthenticationModificationControllerDelegate <NSObject> | ||
|
||
@optional | ||
- (void)accountAuthenticationModificationController:(ASAccountAuthenticationModificationController *)controller didSuccessfullyCompleteRequest:(ASAccountAuthenticationModificationRequest *)request withUserInfo:(nullable NSDictionary *)userInfo NS_SWIFT_NAME(accountAuthenticationModificationController(_:didSuccessfullyComplete:userInfo:)); | ||
- (void)accountAuthenticationModificationController:(ASAccountAuthenticationModificationController *)controller didFailRequest:(ASAccountAuthenticationModificationRequest *)request withError:(NSError *)error NS_SWIFT_NAME(accountAuthenticationModificationController(_:didFail:error:)); | ||
|
||
@end | ||
|
||
AS_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, tvos, watchos) | ||
@protocol ASAccountAuthenticationModificationControllerPresentationContextProviding <NSObject> | ||
@required | ||
|
||
#if !TARGET_OS_WATCH | ||
/*! @abstract Return a view anchor that is most appropriate for authorization UI to be presented over. | ||
*/ | ||
- (ASPresentationAnchor)presentationAnchorForAccountAuthenticationModificationController:(ASAccountAuthenticationModificationController *)controller; | ||
#endif | ||
|
||
@end | ||
|
||
AS_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, tvos, watchos) | ||
@interface ASAccountAuthenticationModificationController : NSObject | ||
|
||
/*! @abstract This delegate will be notified upon completion of the upgrade to report success or failure. | ||
*/ | ||
@property (nonatomic, weak, nullable) id <ASAccountAuthenticationModificationControllerDelegate> delegate; | ||
|
||
/*! @abstract This will be used to provide a presentation context to display authorization UI. | ||
*/ | ||
@property (nonatomic, weak, nullable) id <ASAccountAuthenticationModificationControllerPresentationContextProviding> presentationContextProvider; | ||
|
||
/*! @abstract Perform an upgrade request, one at a time. Any requests initiated with a request already in progress will fail immediately. | ||
*/ | ||
- (void)performRequest:(ASAccountAuthenticationModificationRequest *)request; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
53 changes: 53 additions & 0 deletions
53
...rvices.framework/Versions/A/Headers/ASAccountAuthenticationModificationExtensionContext.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// | ||
// ASAccountAuthenticationModificationExtensionContext.h | ||
// AuthenticationServices Framework | ||
// | ||
// Copyright © 2020 Apple Inc. All rights reserved. | ||
// | ||
|
||
#import <AuthenticationServices/ASExtensionErrors.h> | ||
#import <AuthenticationServices/ASFoundation.h> | ||
#import <Foundation/Foundation.h> | ||
|
||
@class ASAuthorizationAppleIDCredential; | ||
@class ASPasswordCredential; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
AS_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(macos, watchos, tvos) | ||
@interface ASAccountAuthenticationModificationExtensionContext : NSExtensionContext | ||
|
||
/*! @abstract Retrieves a Sign in with Apple credential from the system. | ||
@param state Can be specified to enhance security. State is returned in the ASAuthorizationAppleIDCredential. | ||
@param nonce Can be specified to enhance security. The returned identityToken on the ASAuthorizationAppleIDCredential can be exchanged with the server for the nonce. | ||
@discussion Calling this method will cause the system Sign in with Apple upgrade sheet | ||
to appear. If extension UI is showing when this method is called, the extension UI will be | ||
dismissed before the sheet is presented. | ||
*/ | ||
- (void)getSignInWithAppleUpgradeAuthorizationWithState:(nullable NSString *)state nonce:(nullable NSString *)nonce completionHandler:(void(^)(ASAuthorizationAppleIDCredential * _Nullable authorization, NSError * _Nullable error))completionHandler | ||
NS_SWIFT_NAME(getSignInWithAppleUpgradeAuthorization(state:nonce:completionHandler:)) | ||
NS_SWIFT_ASYNC_NAME(requestSignInWithAppleUpgradeAuthorization(state:nonce:)) | ||
; | ||
|
||
/*! @abstract Confirms successful completion of a Sign in with Apple upgrade. | ||
@param userInfo For upgrades invoked within the extension's containing app, any | ||
information the extension wants to pass back to the app. | ||
@discussion Once a Sign in with Apple upgrade is completed, the system will delete | ||
the password-based credential from the Keychain, if it is saved there. | ||
*/ | ||
- (void)completeUpgradeToSignInWithAppleWithUserInfo:(nullable NSDictionary *)userInfo NS_SWIFT_NAME(completeUpgradeToSignInWithApple(userInfo:)); | ||
|
||
/*! @abstract Confirms successful completion of a strong password upgrade. | ||
@param updatedCredential contains the account username and new password. | ||
@param userInfo For upgrades invoked within the extension's containing app, any | ||
information the extension wants to pass back to the app. | ||
*/ | ||
- (void)completeChangePasswordRequestWithUpdatedCredential:(ASPasswordCredential *)updatedCredential userInfo:(nullable NSDictionary *)userInfo NS_SWIFT_NAME(completeChangePasswordRequest(updatedCredential:userInfo:)); | ||
|
||
/*! @abstract Used to either ask for user interaction in a request or to fail a request. | ||
*/ | ||
- (void)cancelRequestWithError:(NSError *)error; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.