From 728735fe8e24116d012aa50df9eb5e77acf569f9 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Sun, 6 Aug 2023 12:57:20 -0400 Subject: [PATCH 01/12] [AuthentationServices] Add support for xcode 15 beta 6. --- src/authenticationservices.cs | 683 +++++++++++++++++- tests/introspection/iOS/iOSApiProtocolTest.cs | 5 + .../iOS-AuthenticationServices.todo | 89 --- .../macOS-AuthenticationServices.todo | 175 ----- .../tvOS-AuthenticationServices.todo | 3 - .../iOS-AuthenticationServices.todo | 89 --- .../macOS-AuthenticationServices.todo | 175 ----- .../tvOS-AuthenticationServices.todo | 3 - .../watchOS-AuthenticationServices.todo | 3 - 9 files changed, 682 insertions(+), 543 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/iOS-AuthenticationServices.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/macOS-AuthenticationServices.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/tvOS-AuthenticationServices.todo delete mode 100644 tests/xtro-sharpie/iOS-AuthenticationServices.todo delete mode 100644 tests/xtro-sharpie/macOS-AuthenticationServices.todo delete mode 100644 tests/xtro-sharpie/tvOS-AuthenticationServices.todo delete mode 100644 tests/xtro-sharpie/watchOS-AuthenticationServices.todo diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index 5adf84c729e..2dc9d2c232f 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -111,6 +111,8 @@ public enum ASAuthorizationControllerRequestOptions : ulong { public enum ASAuthorizationProviderExtensionAuthenticationMethod : long { Password = 1, UserSecureEnclaveKey = 2, + [Mac (14,0)] + SmartCard = 3, } [NoWatch, NoTV, NoiOS, NoMacCatalyst, Mac (13, 0)] @@ -119,6 +121,16 @@ public enum ASAuthorizationProviderExtensionKeyType : long { DeviceSigning = 1, DeviceEncryption = 2, SecureEnclaveKey = 3, + [Mac (14,0)] + SharedDeviceSigning = 4, + [Mac (14,0)] + SharedDeviceEncryption = 5, + [Mac (14,0)] + CurrentDeviceSigning = 10, + [Mac (14,0)] + CurrentDeviceEncryption = 11, + [Mac (14,0)] + UserSmartCard = 20 } [NoWatch, NoTV, NoiOS, NoMacCatalyst, Mac (13, 0)] @@ -137,9 +149,13 @@ public enum ASAuthorizationProviderExtensionRequestOptions : ulong { None = 0x0, UserInteractionEnabled = 1uL << 0, RegistrationRepair = 1uL << 1, + [Mac (14,0)] + RegistrationSharedDeviceKeys = 1uL << 2, + [Mac (14,0)] + RegistrationDeviceKeyMigration = 1uL << 3, } - [NoWatch, NoTV, NoiOS, MacCatalyst (16, 4), Mac (13, 3)] + [Watch (10,0), TV (17,0), iOS (17,0), MacCatalyst (16, 4), Mac (13, 3)] [Native] public enum ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState : long { Authorized, @@ -147,6 +163,13 @@ public enum ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStat NotDetermined, } + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (14,0)] + [Native] + public enum ASCredentialRequestType : long { + Password = 0, + PasskeyAssertion, + } + delegate void ASCredentialIdentityStoreCompletionHandler (bool success, NSError error); [Introduced (PlatformName.MacCatalyst, 14, 0)] @@ -166,9 +189,15 @@ interface ASCredentialIdentityStore { void GetCredentialIdentityStoreState (Action completion); [Async] + [Deprecated (PlatformName.MacOSX, 14, 0, message: "Use 'PrepareInterfaceToProvideCredential (ASPasswordCredentialIdentity)' instead.")] + [Deprecated (PlatformName.iOS, 17, 0, message: "Use 'PrepareInterfaceToProvideCredential (ASPasswordCredentialIdentity)' instead.")] + [Deprecated (PlatformName.MacCatalyst, 17, 0, message: "Use 'PrepareInterfaceToProvideCredential (ASPasswordCredentialIdentity)' instead.")] [Export ("saveCredentialIdentities:completion:")] void SaveCredentialIdentities (ASPasswordCredentialIdentity [] credentialIdentities, [NullAllowed] ASCredentialIdentityStoreCompletionHandler completion); + [Deprecated (PlatformName.MacCatalyst, 17, 0, message: "Use 'RemoveCredentialIdentityEntries (ASPasswordCredentialIdentity [])' instead.")] + [Deprecated (PlatformName.iOS, 17, 0, message: "Use 'RemoveCredentialIdentityEntries (ASPasswordCredentialIdentity [])' instead.")] + [Deprecated (PlatformName.MacOSX, 14, 0, message: "Use 'RemoveCredentialIdentityEntries (ASPasswordCredentialIdentity [])' instead.")] [Async] [Export ("removeCredentialIdentities:completion:")] void RemoveCredentialIdentities (ASPasswordCredentialIdentity [] credentialIdentities, [NullAllowed] ASCredentialIdentityStoreCompletionHandler completion); @@ -177,9 +206,27 @@ interface ASCredentialIdentityStore { [Export ("removeAllCredentialIdentitiesWithCompletion:")] void RemoveAllCredentialIdentities ([NullAllowed] Action completion); + [Deprecated (PlatformName.MacCatalyst, 17, 0, message: "Use 'ReplaceCredentialIdentityEntries (ASPasswordCredentialIdentity [])' instead.")] + [Deprecated (PlatformName.iOS, 17, 0, message: "Use 'ReplaceCredentialIdentityEntries (ASPasswordCredentialIdentity [])' instead.")] + [Deprecated (PlatformName.MacOSX, 17, 0, message: "Use 'ReplaceCredentialIdentityEntries (ASPasswordCredentialIdentity [])' instead.")] [Async] [Export ("replaceCredentialIdentitiesWithIdentities:completion:")] void ReplaceCredentialIdentities (ASPasswordCredentialIdentity [] newCredentialIdentities, [NullAllowed] ASCredentialIdentityStoreCompletionHandler completion); + + [Async] + [Mac (14,0), MacCatalyst (17,0)] + [Export ("saveCredentialIdentityEntries:completion:")] + void SaveCredentialIdentityEntries (ASCredentialIdentity[] credentialIdentities, [NullAllowed] Action completion); + + [Async] + [Mac (14,0), MacCatalyst (17,0)] + [Export ("replaceCredentialIdentityEntries:completion:")] + void ReplaceCredentialIdentityEntries (ASCredentialIdentity[] newCredentialIdentities, [NullAllowed] Action completion); + + [Async] + [Mac (14,0), MacCatalyst (17,0)] + [Export ("removeCredentialIdentityEntries:completion:")] + void RemoveCredentialIdentityEntries (ASCredentialIdentity[] credentialIdentities, [NullAllowed] Action completion); } [Introduced (PlatformName.MacCatalyst, 14, 0)] @@ -215,6 +262,16 @@ interface ASCredentialProviderExtensionContext { [Export ("cancelRequestWithError:")] void CancelRequest (NSError error); + + [Async] + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [Export ("completeRegistrationRequestWithSelectedPasskeyCredential:completionHandler:")] + void CompleteRegistrationRequest (ASPasskeyRegistrationCredential credential, [NullAllowed] Action completionHandler); + + [Async] + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [Export ("completeAssertionRequestWithSelectedPasskeyCredential:completionHandler:")] + void CompleteAssertionRequest (ASPasskeyAssertionCredential credential, [NullAllowed] Action completionHandler); } [Introduced (PlatformName.MacCatalyst, 14, 0)] @@ -242,7 +299,7 @@ interface ASCredentialServiceIdentifier : NSCopying, NSSecureCoding { [Mac (11, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] - interface ASPasswordCredentialIdentity : NSCopying, NSSecureCoding { + interface ASPasswordCredentialIdentity : NSCopying, NSSecureCoding, ASCredentialIdentity { [Export ("initWithServiceIdentifier:user:recordIdentifier:")] [DesignatedInitializer] NativeHandle Constructor (ASCredentialServiceIdentifier serviceIdentifier, string user, [NullAllowed] string recordIdentifier); @@ -252,16 +309,16 @@ interface ASPasswordCredentialIdentity : NSCopying, NSSecureCoding { ASPasswordCredentialIdentity Create (ASCredentialServiceIdentifier serviceIdentifier, string user, [NullAllowed] string recordIdentifier); [Export ("serviceIdentifier", ArgumentSemantic.Strong)] - ASCredentialServiceIdentifier ServiceIdentifier { get; } + new ASCredentialServiceIdentifier ServiceIdentifier { get; } [Export ("user")] - string User { get; } + new string User { get; } [NullAllowed, Export ("recordIdentifier")] - string RecordIdentifier { get; } + new string RecordIdentifier { get; } [Export ("rank")] - nint Rank { get; set; } + new nint Rank { get; set; } } [Introduced (PlatformName.MacCatalyst, 14, 0)] @@ -277,14 +334,37 @@ interface ASCredentialProviderViewController { [Export ("prepareCredentialListForServiceIdentifiers:")] void PrepareCredentialList (ASCredentialServiceIdentifier [] serviceIdentifiers); + [Deprecated (PlatformName.MacOSX, 14, 0, message: "Use 'ProvideCredentialWithoutUserInteraction (ASCredentialRequest)' instead.")] + [Deprecated (PlatformName.iOS, 17, 0, message: "Use 'ProvideCredentialWithoutUserInteraction (ASCredentialRequest)' instead.")] + [Deprecated (PlatformName.MacCatalyst, 17, 0, message: "Use 'ProvideCredentialWithoutUserInteraction (ASCredentialRequest)' instead.")] [Export ("provideCredentialWithoutUserInteractionForIdentity:")] void ProvideCredentialWithoutUserInteraction (ASPasswordCredentialIdentity credentialIdentity); + [Deprecated (PlatformName.MacOSX, 14, 0, message: "Use 'PrepareInterfaceToProvideCredential (ASPasswordCredentialIdentity)' instead.")] + [Deprecated (PlatformName.iOS, 17, 0, message: "Use 'PrepareInterfaceToProvideCredential (ASPasswordCredentialIdentity)' instead.")] + [Deprecated (PlatformName.MacCatalyst, 17, 0, message: "Use 'PrepareInterfaceToProvideCredential (ASPasswordCredentialIdentity)' instead.")] [Export ("prepareInterfaceToProvideCredentialForIdentity:")] void PrepareInterfaceToProvideCredential (ASPasswordCredentialIdentity credentialIdentity); [Export ("prepareInterfaceForExtensionConfiguration")] void PrepareInterfaceForExtensionConfiguration (); + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [Export ("prepareCredentialListForServiceIdentifiers:requestParameters:")] + void PrepareCredentialList (ASCredentialServiceIdentifier[] serviceIdentifiers, ASPasskeyCredentialRequestParameters requestParameters); + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [Export ("provideCredentialWithoutUserInteractionForRequest:")] + void ProvideCredentialWithoutUserInteraction (ASCredentialRequest credentialRequest); + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [Export ("prepareInterfaceToProvideCredentialForRequest:")] + void PrepareInterfaceToProvideCredential (ASCredentialRequest credentialRequest); + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [Export ("prepareInterfaceForPasskeyRegistration:")] + void PrepareInterfaceForPasskeyRegistration (ASCredentialRequest registrationRequest); + } [Watch (6, 0), TV (13, 0)] @@ -382,6 +462,44 @@ enum ASUserDetectionStatus : long { LikelyReal, } + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [Native] + public enum ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement : long { + Required, + Preferred, + } + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [Native] + public enum ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation : long { + Read, + Write, + } + + [Watch (10,0), TV (17,0), Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [Native] + public enum ASPublicKeyCredentialClientDataCrossOriginValue : long { + NotSet, + CrossOrigin, + SameOriginWithAncestors, + } + + [Watch (10,0), TV (17,0), Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [Native] + public enum ASAuthorizationPublicKeyCredentialAttachment : long { + Platform, + CrossPlatform, + } + + [NoWatch, NoTV, Mac (14,0), NoiOS, NoMacCatalyst] + [Native] + public enum ASAuthorizationProviderExtensionFederationType : long + { + None = 0, + WSTrust = 1, + DynamicWSTrust = 2, + } + [Watch (6, 0), TV (13, 0), iOS (13, 0)] [MacCatalyst (13, 1)] [BaseType (typeof (NSObject), Name = "ASAuthorizationAppleIDCredential")] @@ -730,6 +848,18 @@ interface ASAuthorizationProviderExtensionAuthorizationRequest { [NoWatch, NoTV, NoiOS, NoMacCatalyst, Mac (13, 0)] [Export ("loginManager", ArgumentSemantic.Strong)] ASAuthorizationProviderExtensionLoginManager LoginManager { get; } + + [NoWatch, NoTV, NoiOS, Mac (14, 0), NoMacCatalyst] + [Export ("callerAuditToken")] + NSData CallerAuditToken { get; } + + [NoWatch, NoTV, NoiOS, Mac (14, 0), NoMacCatalyst] + [Export ("supportedGrantTypes")] + ASAuthorizationProviderExtensionSupportedGrantTypes SupportedGrantTypes { get; } + + [NoWatch, NoTV, NoiOS, Mac (14, 0), NoMacCatalyst] + [Export ("protocolVersion")] + ASAuthorizationProviderExtensionPlatformSSOProtocolVersion ProtocolVersion { get; } } [Watch (6, 0), TV (13, 0), iOS (13, 0)] @@ -1173,6 +1303,26 @@ enum ASCoseAlgorithmIdentifier : long { // enum AscoseEllipticCurveIdentifier : long { // P256 = 1, // } + // + + [Flags, NoWatch, NoTV, NoiOS, Mac (14, 0), NoMacCatalyst] + [Native] + public enum ASAuthorizationProviderExtensionSupportedGrantTypes : long { + None = 0x0, + Password = 1L << 0, + JwtBearer = 1L << 1, + Saml11 = 1L << 2, + Saml20 = 1L << 3, + } + + [NoWatch, NoTV, NoiOS, Mac (14,0), NoMacCatalyst] + [Native] + public enum ASAuthorizationProviderExtensionPlatformSSOProtocolVersion : long + { + Version1_0 = 0, + Version2_0 = 1, + } + interface IASAuthorizationPublicKeyCredentialAssertion { } @@ -1208,6 +1358,11 @@ interface ASAuthorizationPlatformPublicKeyCredentialAssertionRequest : ASAuthori [Sealed] [Export ("allowedCredentials", ArgumentSemantic.Copy)] ASAuthorizationPlatformPublicKeyCredentialDescriptor [] PlatformAllowedCredentials { get; set; } + + [NullAllowed] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17,0)] + [Export ("largeBlob", ArgumentSemantic.Assign)] + ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput LargeBlob { get; set; } } [NoWatch, NoTV, Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] @@ -1429,12 +1584,26 @@ interface ASAuthorizationCustomMethod { [NoWatch, TV (16, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] [BaseType (typeof (NSObject))] interface ASAuthorizationPlatformPublicKeyCredentialAssertion : ASAuthorizationPublicKeyCredentialAssertion { + + [iOS (17,0), NoWatch, NoTV, Mac (14, 0), NoMacCatalyst] + [Export ("attachment")] + ASAuthorizationPublicKeyCredentialAttachment Attachment { get; } + + [NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17,0)] + [NullAllowed] + [Export ("largeBlob", ArgumentSemantic.Assign)] + ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput LargeBlob { get; } } [NoWatch, TV (16, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] [BaseType (typeof (ASAuthorizationRequest))] [DisableDefaultCtor] interface ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest : ASAuthorizationPublicKeyCredentialRegistrationRequest { + + [NullAllowed] + [NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17,0)] + [Export ("largeBlob", ArgumentSemantic.Assign)] + ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput LargeBlob { get; set; } } [NoWatch, NoTV, Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] @@ -1451,6 +1620,15 @@ interface ASAuthorizationSecurityKeyPublicKeyCredentialRegistration : ASAuthoriz [NoWatch, TV (16, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)] [BaseType (typeof (NSObject))] interface ASAuthorizationPlatformPublicKeyCredentialRegistration : ASAuthorizationPublicKeyCredentialRegistration { + + [iOS (17,0), NoWatch, NoTV, Mac (14, 0), NoMacCatalyst] + [Export ("attachment")] + ASAuthorizationPublicKeyCredentialAttachment Attachment { get; } + + [NullAllowed] + [NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17,0)] + [Export ("largeBlob", ArgumentSemantic.Assign)] + ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput LargeBlob { get; } } [NoWatch, NoTV, NoiOS, NoMacCatalyst, Mac (13, 0)] @@ -1549,6 +1727,132 @@ interface ASAuthorizationProviderExtensionLoginConfiguration { [Export ("kerberosTicketMappings", ArgumentSemantic.Copy)] ASAuthorizationProviderExtensionKerberosMapping [] KerberosTicketMappings { get; set; } + + [Mac (14, 0)] + [NullAllowed] + [Export ("deviceContext", ArgumentSemantic.Copy)] + NSData DeviceContext { get; set; } + + [Mac (14, 0)] + [Export ("jwksTrustedRootCertificates", ArgumentSemantic.Copy)] + NSObject[] JwksTrustedRootCertificates { get; set; } + + [Mac (14, 0)] + [NullAllowed] + [Export ("refreshEndpointURL", ArgumentSemantic.Copy)] + NSUrl RefreshEndpointUrl { get; set; } + + [Mac (14, 0)] + [NullAllowed, Export ("uniqueIdentifierClaimName")] + string UniqueIdentifierClaimName { get; set; } + + [Mac (14, 0)] + [NullAllowed, Export ("customRequestJWTParameterName")] + string CustomRequestJwtParameterName { get; set; } + + [Mac (14, 0)] + [NullAllowed, Export ("groupRequestClaimName")] + string GroupRequestClaimName { get; set; } + + [Mac (14, 0)] + [NullAllowed, Export ("groupResponseClaimName")] + string GroupResponseClaimName { get; set; } + + [Mac (14, 0)] + [Internal] + [Export ("loginRequestEncryptionPublicKey", ArgumentSemantic.Assign)] + IntPtr /* SecKeyRef */ _LoginRequestEncryptionPublicKey { get; set; } + + [Mac (14, 0)] + SecKey LoginRequestEncryptionPublicKey { + [Wrap ("new SecKey (this._LoginRequestEncryptionPublicKey, owns: false)")] + get; + [Wrap ("_LoginRequestEncryptionPublicKey = value.Handle")] + set; + } + + [Mac (14, 0)] + [NullAllowed] + [Export ("keyEndpointURL", ArgumentSemantic.Copy)] + NSUrl KeyEndpointUrl { get; set; } + + [Mac (14, 0)] + [Export ("customKeyExchangeRequestValues", ArgumentSemantic.Copy)] + NSUrlQueryItem[] CustomKeyExchangeRequestValues { get; set; } + + [Mac (14, 0)] + [NullAllowed] + [Export ("loginRequestEncryptionAPVPrefix", ArgumentSemantic.Copy)] + NSData LoginRequestEncryptionApvPrefix { get; set; } + + [Mac (14, 0)] + [Export ("customRefreshRequestValues", ArgumentSemantic.Copy)] + NSUrlQueryItem[] CustomRefreshRequestValues { get; set; } + + [Mac (14,0)] + [Export ("setCustomRefreshRequestHeaderClaims:returningError:")] + bool SetCustomRefreshRequestHeaderClaims (NSDictionary claims, [NullAllowed] out NSError error); + + [Mac (14,0)] + [Export ("setCustomRefreshRequestBodyClaims:returningError:")] + bool SetCustomRefreshRequestBodyClaims (NSDictionary claims, [NullAllowed] out NSError error); + + [Mac (14, 0)] + [Export ("customKeyRequestValues", ArgumentSemantic.Copy)] + NSUrlQueryItem[] CustomKeyRequestValues { get; set; } + + [Mac (14,0)] + [Export ("setCustomKeyRequestHeaderClaims:returningError:")] + bool SetCustomKeyRequestHeaderClaims (NSDictionary claims, [NullAllowed] out NSError error); + + [Mac (14,0)] + [Export ("setCustomKeyRequestBodyClaims:returningError:")] + bool SetCustomKeyRequestBodyClaims (NSDictionary claims, [NullAllowed] out NSError error); + + [Mac (14,0)] + [Export ("setCustomKeyExchangeRequestHeaderClaims:returningError:")] + bool SetCustomKeyExchangeRequestHeaderClaims (NSDictionary claims, [NullAllowed] out NSError error); + + [Mac (14,0)] + [Export ("setCustomKeyExchangeRequestBodyClaims:returningError:")] + bool SetCustomKeyExchangeRequestBodyClaims (NSDictionary claims, [NullAllowed] out NSError error); + + [Mac (14,0)] + [NullAllowed, Export ("additionalAuthorizationScopes")] + string AdditionalAuthorizationScopes { get; set; } + + [Mac (14, 0)] + [NullAllowed] + [Export ("federationRequestURN")] + string FederationRequestUrn { get; set; } + + [Mac (14, 0)] + [NullAllowed] + [Export ("federationMEXURL", ArgumentSemantic.Copy)] + NSUrl FederationMexUrl { get; set; } + + [Mac (14, 0)] + [NullAllowed] + [Export ("federationUserPreauthenticationURL", ArgumentSemantic.Copy)] + NSUrl FederationUserPreauthenticationUrl { get; set; } + + [Mac (14, 0)] + [Export ("federationType", ArgumentSemantic.Assign)] + ASAuthorizationProviderExtensionFederationType FederationType { get; set; } + + [Mac (14, 0)] + [NullAllowed] + [Export ("federationPredicate")] + string FederationPredicate { get; set; } + + [Mac (14, 0)] + [Export ("customFederationUserPreauthenticationRequestValues", ArgumentSemantic.Copy)] + NSUrlQueryItem[] CustomFederationUserPreauthenticationRequestValues { get; set; } + + [Mac (14, 0)] + [NullAllowed] + [Export ("federationMEXURLKeypath")] + string FederationMexUrlKeypath { get; set; } } [NoWatch, NoTV, NoiOS, NoMacCatalyst, Mac (13, 0)] @@ -1611,6 +1915,32 @@ interface ASAuthorizationProviderExtensionLoginManager { [Async] [Export ("presentRegistrationViewControllerWithCompletion:")] void PresentRegistrationViewController (Action completion); + + [Mac (14,0)] + [Export ("resetUserSecureEnclaveKey")] + void ResetUserSecureEnclaveKey (); + + [Mac (14,0)] + [Export ("resetDeviceKeys")] + void ResetDeviceKeys (); + + [Mac (14, 0)] + [NullAllowed] + [Export ("userLoginConfiguration", ArgumentSemantic.Copy)] + ASAuthorizationProviderExtensionUserLoginConfiguration UserLoginConfiguration { get; } + + [Mac (14,0)] + [Export ("decryptionKeysNeedRepair")] + void DecryptionKeysNeedRepair (); + + [Mac (14,0)] + [Export ("saveUserLoginConfiguration:error:")] + bool SaveUserLoginConfiguration (ASAuthorizationProviderExtensionUserLoginConfiguration userLoginConfiguration, [NullAllowed] out NSError error); + + [Mac (14,0)] + [Export ("extensionData")] + NSDictionary ExtensionData { get; } + } [NoWatch, NoTV, NoiOS, NoMacCatalyst, Mac (13, 0)] @@ -1634,6 +1964,18 @@ interface ASAuthorizationProviderExtensionRegistrationHandler { [Export ("registrationDidComplete")] void RegistrationDidComplete (); + + [Mac (14, 0)] + [Export ("supportedGrantTypes")] + ASAuthorizationProviderExtensionSupportedGrantTypes SupportedGrantTypes { get; } + + [Mac (14,0)] + [Export ("registrationDidCancel")] + void RegistrationDidCancel (); + + [Mac (14, 0)] + [Export ("protocolVersion")] + ASAuthorizationProviderExtensionPlatformSSOProtocolVersion ProtocolVersion { get; } } interface IASAuthorizationWebBrowserExternallyAuthenticatableRequest { } @@ -1663,6 +2005,14 @@ interface ASAuthorizationWebBrowserPlatformPublicKeyCredential { [Export ("userHandle")] NSData UserHandle { get; } + + [MacCatalyst (17,0), Mac (14,0)] + [Export ("providerName")] + string ProviderName { get; } + + [MacCatalyst (17, 0), Mac (14, 0)] + [NullAllowed, Export ("customTitle")] + string CustomTitle { get; } } [NoWatch, NoTV, NoiOS, MacCatalyst (16, 4), Mac (13, 3)] @@ -1682,4 +2032,325 @@ interface ASAuthorizationWebBrowserPublicKeyCredentialManager { ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState AuthorizationStateForPlatformCredentials { get; } } + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface ASSettingsHelper { + [Async] + [Static] + [Export ("openCredentialProviderAppSettingsWithCompletionHandler:")] + void OpenCredentialProviderAppSettings ([NullAllowed] Action completionHandler); + + [Async] + [Static] + [Export ("openVerificationCodeAppSettingsWithCompletionHandler:")] + void OpenVerificationCodeAppSettings ([NullAllowed] Action completionHandler); + } + + interface IASCredentialRequest {} + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [Protocol] + [BaseType (typeof (NSObject))] + interface ASCredentialRequest : NSSecureCoding, NSCopying { + [Abstract] + [Export ("type")] + ASCredentialRequestType Type { get; } + + [Abstract] + [Export ("credentialIdentity")] + ASCredentialIdentity CredentialIdentity { get; } + } + + [NoWatch, NoTV, MacCatalyst (17,0), Mac (14,0), iOS (17,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface ASPasswordCredentialRequest : ASCredentialRequest { + [Export ("initWithCredentialIdentity:")] + [DesignatedInitializer] + NativeHandle Constructor (ASPasswordCredentialIdentity credentialIdentity); + + [Static] + [Export ("requestWithCredentialIdentity:")] + ASPasswordCredentialRequest Request (ASPasswordCredentialIdentity credentialIdentity); + } + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [BaseType (typeof (NSObject))] + interface ASPasskeyRegistrationCredential : ASAuthorizationCredential { + [Export ("initWithRelyingParty:clientDataHash:credentialID:attestationObject:")] + NativeHandle Constructor (string relyingParty, NSData clientDataHash, NSData credentialId, NSData attestationObject); + + [Static] + [Export ("credentialWithRelyingParty:clientDataHash:credentialID:attestationObject:")] + ASPasskeyRegistrationCredential CreateCredential (string relyingParty, NSData clientDataHash, NSData credentialId, NSData attestationObject); + + [Export ("relyingParty")] + string RelyingParty { get; } + + [Export ("clientDataHash")] + NSData ClientDataHash { get; } + + [Export ("credentialID")] + NSData CredentialId { get; } + + [Export ("attestationObject")] + NSData AttestationObject { get; } + } + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface ASPasskeyCredentialRequest : ASCredentialRequest { + [Export ("initWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms:")] + NativeHandle Constructor (ASPasskeyCredentialIdentity credentialIdentity, NSData clientDataHash, string userVerificationPreference, NSNumber[] supportedAlgorithms); + + [Export ("clientDataHash")] + NSData ClientDataHash { get; } + + [Export ("userVerificationPreference")] + string UserVerificationPreference { get; set; } + + [Export ("supportedAlgorithms")] + NSNumber[] SupportedAlgorithms { get; } + + [Static] + [Export ("requestWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms:")] + ASPasskeyCredentialRequest Create (ASPasskeyCredentialIdentity credentialIdentity, NSData clientDataHash, string userVerificationPreference, NSNumber[] supportedAlgorithms); + + } + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [Protocol] + [BaseType (typeof(NSObject))] + interface ASCredentialIdentity { + + [Abstract] + [Export ("serviceIdentifier", ArgumentSemantic.Strong)] + ASCredentialServiceIdentifier ServiceIdentifier { get; } + + [Abstract] + [Export ("user")] + string User { get; } + + [Abstract] + [NullAllowed, Export ("recordIdentifier")] + string RecordIdentifier { get; } + + [Abstract] + [Export ("rank")] + nint Rank { get; set; } + } + + interface IASCredentialIdentity {} + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface ASPasskeyCredentialIdentity : NSCopying, NSSecureCoding, ASCredentialIdentity { + [Export ("initWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier:")] + NativeHandle Constructor (string relyingPartyIdentifier, string userName, NSData credentialId, NSData userHandle, [NullAllowed] string recordIdentifier); + + [Static] + [Export ("identityWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier:")] + ASPasskeyCredentialIdentity CreateIdentity (string relyingPartyIdentifier, string userName, NSData credentialId, NSData userHandle, [NullAllowed] string recordIdentifier); + + [Export ("relyingPartyIdentifier")] + string RelyingPartyIdentifier { get; } + + [Export ("userName")] + string UserName { get; } + + [Export ("credentialID", ArgumentSemantic.Copy)] + NSData CredentialId { get; } + + [Export ("userHandle", ArgumentSemantic.Copy)] + NSData UserHandle { get; } + + [NullAllowed, Export ("recordIdentifier")] + new string RecordIdentifier { get; } + + [Export ("rank")] + new nint Rank { get; set; } + } + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [BaseType (typeof(NSObject))] + interface ASPasskeyAssertionCredential : ASAuthorizationCredential { + [Export ("initWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID:")] + NativeHandle Constructor (NSData userHandle, string relyingParty, NSData signature, NSData clientDataHash, NSData authenticatorData, NSData credentialId); + + [Static] + [Export ("credentialWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID:")] + ASPasskeyAssertionCredential CreateCredential (NSData userHandle, string relyingParty, NSData signature, NSData clientDataHash, NSData authenticatorData, NSData credentialId); + + [Export ("userHandle", ArgumentSemantic.Copy)] + NSData UserHandle { get; } + + [Export ("relyingParty")] + string RelyingParty { get; } + + [Export ("signature", ArgumentSemantic.Copy)] + NSData Signature { get; } + + [Export ("clientDataHash", ArgumentSemantic.Copy)] + NSData ClientDataHash { get; } + + [Export ("authenticatorData", ArgumentSemantic.Copy)] + NSData AuthenticatorData { get; } + + [Export ("credentialID", ArgumentSemantic.Copy)] + NSData CredentialId { get; } + } + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface ASPasskeyCredentialRequestParameters : NSSecureCoding, NSCopying { + [Export ("relyingPartyIdentifier")] + string RelyingPartyIdentifier { get; } + + [Export ("clientDataHash", ArgumentSemantic.Copy)] + NSData ClientDataHash { get; } + + [Export ("userVerificationPreference")] + string UserVerificationPreference { get; } + + [Export ("allowedCredentials", ArgumentSemantic.Copy)] + NSData[] AllowedCredentials { get; } + } + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput { + [Export ("initWithSupportRequirement:")] + NativeHandle Constructor (ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement requirement); + + [Export ("supportRequirement", ArgumentSemantic.Assign)] + ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement SupportRequirement { get; set; } + } + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput + { + [Export ("initWithOperation:")] + NativeHandle Constructor (ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation operation); + + [Export ("operation")] + ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation Operation { get; } + + [NullAllowed, Export ("dataToWrite", ArgumentSemantic.Assign)] + NSData DataToWrite { get; set; } + } + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput { + [NullAllowed, Export ("readData")] + NSData ReadData { get; } + + [Export ("didWrite")] + bool DidWrite { get; } + } + + [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [BaseType (typeof(NSObject))] + interface ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput + { + [Export ("isSupported")] + bool IsSupported { get; } + } + + [NoWatch, NoTV, NoiOS, MacCatalyst (17,0), Mac (14,0)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface ASPublicKeyCredentialClientData { + [Export ("initWithChallenge:origin:")] + NativeHandle Constructor (NSData challenge, string origin); + + [Export ("challenge", ArgumentSemantic.Assign)] + NSData Challenge { get; set; } + + [Export ("origin")] + string Origin { get; set; } + + [NullAllowed, Export ("topOrigin")] + string TopOrigin { get; set; } + + [Export ("crossOrigin", ArgumentSemantic.Assign)] + ASPublicKeyCredentialClientDataCrossOriginValue CrossOrigin { get; set; } + } + + [NoWatch, NoTV, NoiOS, NoMacCatalyst, Mac (14,0)] + [BaseType (typeof(NSObject))] + [DisableDefaultCtor] + interface ASAuthorizationProviderExtensionUserLoginConfiguration + { + [Export ("loginUserName")] + string LoginUserName { get; set; } + + [Export ("initWithLoginUserName:")] + NativeHandle Constructor (string loginUserName); + + [Export ("setCustomAssertionRequestHeaderClaims:returningError:")] + bool SetCustomAssertionRequestHeaderClaims (NSDictionary claims, [NullAllowed] out NSError error); + + [Export ("setCustomAssertionRequestBodyClaims:returningError:")] + bool SetCustomAssertionRequestBodyClaims (NSDictionary claims, [NullAllowed] out NSError error); + + [Export ("setCustomLoginRequestHeaderClaims:returningError:")] + bool SetCustomLoginRequestHeaderClaims (NSDictionary claims, [NullAllowed] out NSError error); + + [Export ("setCustomLoginRequestBodyClaims:returningError:")] + bool SetCustomLoginRequestBodyClaims (NSDictionary claims, [NullAllowed] out NSError error); + } + + [NoWatch, NoTV, NoiOS, MacCatalyst (17,0), Mac (14,0)] + [Protocol] + interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider + { + [Abstract] + [Export ("createCredentialRegistrationRequestWithClientData:name:userID:")] + ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest CreateCredentialRegistrationRequest (ASPublicKeyCredentialClientData clientData, string name, NSData userID); + + [Abstract] + [Export ("createCredentialAssertionRequestWithClientData:")] + ASAuthorizationPlatformPublicKeyCredentialAssertionRequest CreateCredentialAssertionRequest (ASPublicKeyCredentialClientData clientData); + } + + [NoWatch, NoTV, NoiOS, MacCatalyst (17,0), Mac (14,0)] + [Protocol] + interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest + { + [Abstract] + [Export ("clientData")] + ASPublicKeyCredentialClientData ClientData { get; } + + [Abstract] + [NullAllowed, Export ("excludedCredentials", ArgumentSemantic.Copy)] + ASAuthorizationPlatformPublicKeyCredentialDescriptor[] ExcludedCredentials { get; set; } + + [Abstract] + [Export ("shouldShowHybridTransport")] + bool ShouldShowHybridTransport { get; set; } + } + + [NoWatch, NoTV, NoiOS, MacCatalyst (17,0), Mac (14,0)] + [Protocol] + interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest + { + [Abstract] + [Export ("clientData")] + ASPublicKeyCredentialClientData ClientData { get; } + + // @required @property (nonatomic) BOOL shouldShowHybridTransport; + [Abstract] + [Export ("shouldShowHybridTransport")] + bool ShouldShowHybridTransport { get; set; } + } + } diff --git a/tests/introspection/iOS/iOSApiProtocolTest.cs b/tests/introspection/iOS/iOSApiProtocolTest.cs index c26864f2cad..c059cabdaeb 100644 --- a/tests/introspection/iOS/iOSApiProtocolTest.cs +++ b/tests/introspection/iOS/iOSApiProtocolTest.cs @@ -136,6 +136,11 @@ protected override bool Skip (Type type) if (TestRuntime.IsSimulatorOrDesktop) return true; break; + case "ASCredentialIdentity": + case "ASCredentialRequest": + if (TestRuntime.IsSimulatorOrDesktop) + return true; + break; } return base.Skip (type); diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AuthenticationServices.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-AuthenticationServices.todo deleted file mode 100644 index 9a36dabde07..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AuthenticationServices.todo +++ /dev/null @@ -1,89 +0,0 @@ -!missing-enum! ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState not bound -!deprecated-attribute-missing! ASCredentialIdentityStore::removeCredentialIdentities:completion: missing a [Deprecated] attribute -!deprecated-attribute-missing! ASCredentialIdentityStore::replaceCredentialIdentitiesWithIdentities:completion: missing a [Deprecated] attribute -!deprecated-attribute-missing! ASCredentialIdentityStore::saveCredentialIdentities:completion: missing a [Deprecated] attribute -!deprecated-attribute-missing! ASCredentialProviderViewController::prepareInterfaceToProvideCredentialForIdentity: missing a [Deprecated] attribute -!deprecated-attribute-missing! ASCredentialProviderViewController::provideCredentialWithoutUserInteractionForIdentity: missing a [Deprecated] attribute -!missing-enum! ASAuthorizationPublicKeyCredentialAttachment not bound -!missing-enum! ASCredentialRequestType not bound -!missing-enum! ASPublicKeyCredentialClientDataCrossOriginValue not bound -!missing-protocol! ASCredentialIdentity not bound -!missing-protocol! ASCredentialRequest not bound -!missing-protocol-conformance! ASPasswordCredentialIdentity should conform to ASCredentialIdentity -!missing-selector! +ASPasskeyAssertionCredential::credentialWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID: not bound -!missing-selector! +ASPasskeyCredentialIdentity::identityWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier: not bound -!missing-selector! +ASPasskeyRegistrationCredential::credentialWithRelyingParty:clientDataHash:credentialID:attestationObject: not bound -!missing-selector! +ASPasswordCredentialRequest::requestWithCredentialIdentity: not bound -!missing-selector! +ASSettingsHelper::openCredentialProviderAppSettingsWithCompletionHandler: not bound -!missing-selector! +ASSettingsHelper::openVerificationCodeAppSettingsWithCompletionHandler: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertion::attachment not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistration::attachment not bound -!missing-selector! ASCredentialIdentityStore::removeCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialIdentityStore::replaceCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialIdentityStore::saveCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialProviderExtensionContext::completeAssertionRequestWithSelectedPasskeyCredential:completionHandler: not bound -!missing-selector! ASCredentialProviderExtensionContext::completeRegistrationRequestWithSelectedPasskeyCredential:completionHandler: not bound -!missing-selector! ASCredentialProviderViewController::prepareInterfaceForPasskeyRegistration: not bound -!missing-selector! ASCredentialProviderViewController::prepareInterfaceToProvideCredentialForRequest: not bound -!missing-selector! ASCredentialProviderViewController::provideCredentialWithoutUserInteractionForRequest: not bound -!missing-selector! ASPasskeyAssertionCredential::authenticatorData not bound -!missing-selector! ASPasskeyAssertionCredential::clientDataHash not bound -!missing-selector! ASPasskeyAssertionCredential::credentialID not bound -!missing-selector! ASPasskeyAssertionCredential::initWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID: not bound -!missing-selector! ASPasskeyAssertionCredential::relyingParty not bound -!missing-selector! ASPasskeyAssertionCredential::signature not bound -!missing-selector! ASPasskeyAssertionCredential::userHandle not bound -!missing-selector! ASPasskeyCredentialIdentity::credentialID not bound -!missing-selector! ASPasskeyCredentialIdentity::initWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier: not bound -!missing-selector! ASPasskeyCredentialIdentity::rank not bound -!missing-selector! ASPasskeyCredentialIdentity::recordIdentifier not bound -!missing-selector! ASPasskeyCredentialIdentity::relyingPartyIdentifier not bound -!missing-selector! ASPasskeyCredentialIdentity::setRank: not bound -!missing-selector! ASPasskeyCredentialIdentity::userHandle not bound -!missing-selector! ASPasskeyCredentialIdentity::userName not bound -!missing-selector! ASPasskeyCredentialRequest::clientDataHash not bound -!missing-selector! ASPasskeyCredentialRequest::setUserVerificationPreference: not bound -!missing-selector! ASPasskeyCredentialRequest::userVerificationPreference not bound -!missing-selector! ASPasskeyRegistrationCredential::attestationObject not bound -!missing-selector! ASPasskeyRegistrationCredential::clientDataHash not bound -!missing-selector! ASPasskeyRegistrationCredential::credentialID not bound -!missing-selector! ASPasskeyRegistrationCredential::initWithRelyingParty:clientDataHash:credentialID:attestationObject: not bound -!missing-selector! ASPasskeyRegistrationCredential::relyingParty not bound -!missing-selector! ASPasswordCredentialRequest::initWithCredentialIdentity: not bound -!missing-type! ASPasskeyAssertionCredential not bound -!missing-type! ASPasskeyCredentialIdentity not bound -!missing-type! ASPasskeyCredentialRequest not bound -!missing-type! ASPasskeyRegistrationCredential not bound -!missing-type! ASPasswordCredentialRequest not bound -!missing-type! ASSettingsHelper not bound -!missing-enum! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation not bound -!missing-enum! ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement not bound -!missing-selector! +ASPasskeyCredentialRequest::requestWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertion::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertionRequest::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertionRequest::setLargeBlob: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistration::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest::setLargeBlob: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::dataToWrite not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::initWithOperation: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::operation not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::setDataToWrite: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput::didWrite not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput::readData not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::initWithSupportRequirement: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::setSupportRequirement: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::supportRequirement not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput::isSupported not bound -!missing-selector! ASCredentialProviderViewController::prepareCredentialListForServiceIdentifiers:requestParameters: not bound -!missing-selector! ASPasskeyCredentialRequest::initWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms: not bound -!missing-selector! ASPasskeyCredentialRequest::supportedAlgorithms not bound -!missing-selector! ASPasskeyCredentialRequestParameters::allowedCredentials not bound -!missing-selector! ASPasskeyCredentialRequestParameters::clientDataHash not bound -!missing-selector! ASPasskeyCredentialRequestParameters::relyingPartyIdentifier not bound -!missing-selector! ASPasskeyCredentialRequestParameters::userVerificationPreference not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput not bound -!missing-type! ASPasskeyCredentialRequestParameters not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AuthenticationServices.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AuthenticationServices.todo deleted file mode 100644 index f176bae4293..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AuthenticationServices.todo +++ /dev/null @@ -1,175 +0,0 @@ -!missing-enum! ASAuthorizationProviderExtensionFederationType not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::customFederationUserPreauthenticationRequestValues not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationMEXURL not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationMEXURLKeypath not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationPredicate not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationRequestURN not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationType not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationUserPreauthenticationURL not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomFederationUserPreauthenticationRequestValues: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationMEXURL: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationMEXURLKeypath: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationPredicate: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationRequestURN: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationType: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationUserPreauthenticationURL: not bound -!missing-enum! ASAuthorizationProviderExtensionPlatformSSOProtocolVersion not bound -!missing-enum! ASAuthorizationProviderExtensionSupportedGrantTypes not bound -!missing-enum! ASAuthorizationPublicKeyCredentialAttachment not bound -!missing-enum! ASCredentialRequestType not bound -!missing-enum! ASPublicKeyCredentialClientDataCrossOriginValue not bound -!missing-enum-value! ASAuthorizationProviderExtensionAuthenticationMethod native value ASAuthorizationProviderExtensionAuthenticationMethodSmartCard = 3 not bound -!missing-enum-value! ASAuthorizationProviderExtensionKeyType native value ASAuthorizationProviderExtensionKeyTypeCurrentDeviceEncryption = 11 not bound -!missing-enum-value! ASAuthorizationProviderExtensionKeyType native value ASAuthorizationProviderExtensionKeyTypeCurrentDeviceSigning = 10 not bound -!missing-enum-value! ASAuthorizationProviderExtensionKeyType native value ASAuthorizationProviderExtensionKeyTypeSharedDeviceEncryption = 5 not bound -!missing-enum-value! ASAuthorizationProviderExtensionKeyType native value ASAuthorizationProviderExtensionKeyTypeSharedDeviceSigning = 4 not bound -!missing-enum-value! ASAuthorizationProviderExtensionKeyType native value ASAuthorizationProviderExtensionKeyTypeUserSmartCard = 20 not bound -!missing-enum-value! ASAuthorizationProviderExtensionRequestOptions native value ASAuthorizationProviderExtensionRequestOptionsRegistrationSharedDeviceKeys = 4 not bound -!missing-protocol! ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest not bound -!missing-protocol! ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider not bound -!missing-protocol! ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest not bound -!missing-protocol! ASCredentialIdentity not bound -!missing-protocol! ASCredentialRequest not bound -!missing-protocol-conformance! ASPasswordCredentialIdentity should conform to ASCredentialIdentity -!missing-protocol-member! ASAuthorizationProviderExtensionRegistrationHandler::protocolVersion not found -!missing-protocol-member! ASAuthorizationProviderExtensionRegistrationHandler::registrationDidCancel not found -!missing-protocol-member! ASAuthorizationProviderExtensionRegistrationHandler::supportedGrantTypes not found -!missing-selector! +ASPasskeyAssertionCredential::credentialWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID: not bound -!missing-selector! +ASPasskeyCredentialIdentity::identityWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier: not bound -!missing-selector! +ASPasskeyRegistrationCredential::credentialWithRelyingParty:clientDataHash:credentialID:attestationObject: not bound -!missing-selector! +ASPasswordCredentialRequest::requestWithCredentialIdentity: not bound -!missing-selector! +ASSettingsHelper::openCredentialProviderAppSettingsWithCompletionHandler: not bound -!missing-selector! +ASSettingsHelper::openVerificationCodeAppSettingsWithCompletionHandler: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertion::attachment not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistration::attachment not bound -!missing-selector! ASAuthorizationProviderExtensionAuthorizationRequest::callerAuditToken not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::additionalAuthorizationScopes not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::customKeyExchangeRequestValues not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::customKeyRequestValues not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::customRefreshRequestValues not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::customRequestJWTParameterName not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::groupRequestClaimName not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::groupResponseClaimName not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::jwksTrustedRootCertificates not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::keyEndpointURL not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::loginRequestEncryptionAPVPrefix not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::loginRequestEncryptionPublicKey not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::refreshEndpointURL not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setAdditionalAuthorizationScopes: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyExchangeRequestBodyClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyExchangeRequestHeaderClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyExchangeRequestValues: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyRequestBodyClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyRequestHeaderClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyRequestValues: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomRefreshRequestBodyClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomRefreshRequestHeaderClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomRefreshRequestValues: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomRequestJWTParameterName: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setGroupRequestClaimName: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setGroupResponseClaimName: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setJwksTrustedRootCertificates: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setKeyEndpointURL: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setLoginRequestEncryptionAPVPrefix: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setLoginRequestEncryptionPublicKey: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setRefreshEndpointURL: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setUniqueIdentifierClaimName: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::uniqueIdentifierClaimName not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::decryptionKeysNeedRepair not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::extensionData not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::saveUserLoginConfiguration:error: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::userLoginConfiguration not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::initWithLoginUserName: not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::loginUserName not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::setCustomAssertionRequestBodyClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::setCustomAssertionRequestHeaderClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::setCustomLoginRequestBodyClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::setCustomLoginRequestHeaderClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::setLoginUserName: not bound -!missing-selector! ASAuthorizationWebBrowserPlatformPublicKeyCredential::customTitle not bound -!missing-selector! ASAuthorizationWebBrowserPlatformPublicKeyCredential::providerName not bound -!missing-selector! ASCredentialIdentityStore::removeCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialIdentityStore::replaceCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialIdentityStore::saveCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialProviderExtensionContext::completeAssertionRequestWithSelectedPasskeyCredential:completionHandler: not bound -!missing-selector! ASCredentialProviderExtensionContext::completeRegistrationRequestWithSelectedPasskeyCredential:completionHandler: not bound -!missing-selector! ASCredentialProviderViewController::prepareInterfaceForPasskeyRegistration: not bound -!missing-selector! ASCredentialProviderViewController::prepareInterfaceToProvideCredentialForRequest: not bound -!missing-selector! ASCredentialProviderViewController::provideCredentialWithoutUserInteractionForRequest: not bound -!missing-selector! ASPasskeyAssertionCredential::authenticatorData not bound -!missing-selector! ASPasskeyAssertionCredential::clientDataHash not bound -!missing-selector! ASPasskeyAssertionCredential::credentialID not bound -!missing-selector! ASPasskeyAssertionCredential::initWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID: not bound -!missing-selector! ASPasskeyAssertionCredential::relyingParty not bound -!missing-selector! ASPasskeyAssertionCredential::signature not bound -!missing-selector! ASPasskeyAssertionCredential::userHandle not bound -!missing-selector! ASPasskeyCredentialIdentity::credentialID not bound -!missing-selector! ASPasskeyCredentialIdentity::initWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier: not bound -!missing-selector! ASPasskeyCredentialIdentity::rank not bound -!missing-selector! ASPasskeyCredentialIdentity::recordIdentifier not bound -!missing-selector! ASPasskeyCredentialIdentity::relyingPartyIdentifier not bound -!missing-selector! ASPasskeyCredentialIdentity::setRank: not bound -!missing-selector! ASPasskeyCredentialIdentity::userHandle not bound -!missing-selector! ASPasskeyCredentialIdentity::userName not bound -!missing-selector! ASPasskeyCredentialRequest::clientDataHash not bound -!missing-selector! ASPasskeyCredentialRequest::setUserVerificationPreference: not bound -!missing-selector! ASPasskeyCredentialRequest::userVerificationPreference not bound -!missing-selector! ASPasskeyRegistrationCredential::attestationObject not bound -!missing-selector! ASPasskeyRegistrationCredential::clientDataHash not bound -!missing-selector! ASPasskeyRegistrationCredential::credentialID not bound -!missing-selector! ASPasskeyRegistrationCredential::initWithRelyingParty:clientDataHash:credentialID:attestationObject: not bound -!missing-selector! ASPasskeyRegistrationCredential::relyingParty not bound -!missing-selector! ASPasswordCredentialRequest::initWithCredentialIdentity: not bound -!missing-selector! ASPublicKeyCredentialClientData::challenge not bound -!missing-selector! ASPublicKeyCredentialClientData::crossOrigin not bound -!missing-selector! ASPublicKeyCredentialClientData::initWithChallenge:origin: not bound -!missing-selector! ASPublicKeyCredentialClientData::origin not bound -!missing-selector! ASPublicKeyCredentialClientData::setChallenge: not bound -!missing-selector! ASPublicKeyCredentialClientData::setCrossOrigin: not bound -!missing-selector! ASPublicKeyCredentialClientData::setOrigin: not bound -!missing-selector! ASPublicKeyCredentialClientData::setTopOrigin: not bound -!missing-selector! ASPublicKeyCredentialClientData::topOrigin not bound -!missing-type! ASAuthorizationProviderExtensionUserLoginConfiguration not bound -!missing-type! ASPasskeyAssertionCredential not bound -!missing-type! ASPasskeyCredentialIdentity not bound -!missing-type! ASPasskeyCredentialRequest not bound -!missing-type! ASPasskeyRegistrationCredential not bound -!missing-type! ASPasswordCredentialRequest not bound -!missing-type! ASPublicKeyCredentialClientData not bound -!missing-type! ASSettingsHelper not bound -!missing-enum! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation not bound -!missing-enum! ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement not bound -!missing-enum-value! ASAuthorizationProviderExtensionRequestOptions native value ASAuthorizationProviderExtensionRequestOptionsRegistrationDeviceKeyMigration = 8 not bound -!missing-selector! +ASPasskeyCredentialRequest::requestWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertion::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertionRequest::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertionRequest::setLargeBlob: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistration::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest::setLargeBlob: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::deviceContext not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setDeviceContext: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::resetDeviceKeys not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::resetUserSecureEnclaveKey not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::dataToWrite not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::initWithOperation: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::operation not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::setDataToWrite: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput::didWrite not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput::readData not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::initWithSupportRequirement: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::setSupportRequirement: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::supportRequirement not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput::isSupported not bound -!missing-selector! ASCredentialProviderViewController::prepareCredentialListForServiceIdentifiers:requestParameters: not bound -!missing-selector! ASPasskeyCredentialRequest::initWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms: not bound -!missing-selector! ASPasskeyCredentialRequest::supportedAlgorithms not bound -!missing-selector! ASPasskeyCredentialRequestParameters::allowedCredentials not bound -!missing-selector! ASPasskeyCredentialRequestParameters::clientDataHash not bound -!missing-selector! ASPasskeyCredentialRequestParameters::relyingPartyIdentifier not bound -!missing-selector! ASPasskeyCredentialRequestParameters::userVerificationPreference not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput not bound -!missing-type! ASPasskeyCredentialRequestParameters not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AuthenticationServices.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AuthenticationServices.todo deleted file mode 100644 index 7b9e6852c2b..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AuthenticationServices.todo +++ /dev/null @@ -1,3 +0,0 @@ -!missing-enum! ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState not bound -!missing-enum! ASAuthorizationPublicKeyCredentialAttachment not bound -!missing-enum! ASPublicKeyCredentialClientDataCrossOriginValue not bound diff --git a/tests/xtro-sharpie/iOS-AuthenticationServices.todo b/tests/xtro-sharpie/iOS-AuthenticationServices.todo deleted file mode 100644 index 9a36dabde07..00000000000 --- a/tests/xtro-sharpie/iOS-AuthenticationServices.todo +++ /dev/null @@ -1,89 +0,0 @@ -!missing-enum! ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState not bound -!deprecated-attribute-missing! ASCredentialIdentityStore::removeCredentialIdentities:completion: missing a [Deprecated] attribute -!deprecated-attribute-missing! ASCredentialIdentityStore::replaceCredentialIdentitiesWithIdentities:completion: missing a [Deprecated] attribute -!deprecated-attribute-missing! ASCredentialIdentityStore::saveCredentialIdentities:completion: missing a [Deprecated] attribute -!deprecated-attribute-missing! ASCredentialProviderViewController::prepareInterfaceToProvideCredentialForIdentity: missing a [Deprecated] attribute -!deprecated-attribute-missing! ASCredentialProviderViewController::provideCredentialWithoutUserInteractionForIdentity: missing a [Deprecated] attribute -!missing-enum! ASAuthorizationPublicKeyCredentialAttachment not bound -!missing-enum! ASCredentialRequestType not bound -!missing-enum! ASPublicKeyCredentialClientDataCrossOriginValue not bound -!missing-protocol! ASCredentialIdentity not bound -!missing-protocol! ASCredentialRequest not bound -!missing-protocol-conformance! ASPasswordCredentialIdentity should conform to ASCredentialIdentity -!missing-selector! +ASPasskeyAssertionCredential::credentialWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID: not bound -!missing-selector! +ASPasskeyCredentialIdentity::identityWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier: not bound -!missing-selector! +ASPasskeyRegistrationCredential::credentialWithRelyingParty:clientDataHash:credentialID:attestationObject: not bound -!missing-selector! +ASPasswordCredentialRequest::requestWithCredentialIdentity: not bound -!missing-selector! +ASSettingsHelper::openCredentialProviderAppSettingsWithCompletionHandler: not bound -!missing-selector! +ASSettingsHelper::openVerificationCodeAppSettingsWithCompletionHandler: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertion::attachment not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistration::attachment not bound -!missing-selector! ASCredentialIdentityStore::removeCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialIdentityStore::replaceCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialIdentityStore::saveCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialProviderExtensionContext::completeAssertionRequestWithSelectedPasskeyCredential:completionHandler: not bound -!missing-selector! ASCredentialProviderExtensionContext::completeRegistrationRequestWithSelectedPasskeyCredential:completionHandler: not bound -!missing-selector! ASCredentialProviderViewController::prepareInterfaceForPasskeyRegistration: not bound -!missing-selector! ASCredentialProviderViewController::prepareInterfaceToProvideCredentialForRequest: not bound -!missing-selector! ASCredentialProviderViewController::provideCredentialWithoutUserInteractionForRequest: not bound -!missing-selector! ASPasskeyAssertionCredential::authenticatorData not bound -!missing-selector! ASPasskeyAssertionCredential::clientDataHash not bound -!missing-selector! ASPasskeyAssertionCredential::credentialID not bound -!missing-selector! ASPasskeyAssertionCredential::initWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID: not bound -!missing-selector! ASPasskeyAssertionCredential::relyingParty not bound -!missing-selector! ASPasskeyAssertionCredential::signature not bound -!missing-selector! ASPasskeyAssertionCredential::userHandle not bound -!missing-selector! ASPasskeyCredentialIdentity::credentialID not bound -!missing-selector! ASPasskeyCredentialIdentity::initWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier: not bound -!missing-selector! ASPasskeyCredentialIdentity::rank not bound -!missing-selector! ASPasskeyCredentialIdentity::recordIdentifier not bound -!missing-selector! ASPasskeyCredentialIdentity::relyingPartyIdentifier not bound -!missing-selector! ASPasskeyCredentialIdentity::setRank: not bound -!missing-selector! ASPasskeyCredentialIdentity::userHandle not bound -!missing-selector! ASPasskeyCredentialIdentity::userName not bound -!missing-selector! ASPasskeyCredentialRequest::clientDataHash not bound -!missing-selector! ASPasskeyCredentialRequest::setUserVerificationPreference: not bound -!missing-selector! ASPasskeyCredentialRequest::userVerificationPreference not bound -!missing-selector! ASPasskeyRegistrationCredential::attestationObject not bound -!missing-selector! ASPasskeyRegistrationCredential::clientDataHash not bound -!missing-selector! ASPasskeyRegistrationCredential::credentialID not bound -!missing-selector! ASPasskeyRegistrationCredential::initWithRelyingParty:clientDataHash:credentialID:attestationObject: not bound -!missing-selector! ASPasskeyRegistrationCredential::relyingParty not bound -!missing-selector! ASPasswordCredentialRequest::initWithCredentialIdentity: not bound -!missing-type! ASPasskeyAssertionCredential not bound -!missing-type! ASPasskeyCredentialIdentity not bound -!missing-type! ASPasskeyCredentialRequest not bound -!missing-type! ASPasskeyRegistrationCredential not bound -!missing-type! ASPasswordCredentialRequest not bound -!missing-type! ASSettingsHelper not bound -!missing-enum! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation not bound -!missing-enum! ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement not bound -!missing-selector! +ASPasskeyCredentialRequest::requestWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertion::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertionRequest::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertionRequest::setLargeBlob: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistration::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest::setLargeBlob: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::dataToWrite not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::initWithOperation: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::operation not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::setDataToWrite: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput::didWrite not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput::readData not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::initWithSupportRequirement: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::setSupportRequirement: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::supportRequirement not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput::isSupported not bound -!missing-selector! ASCredentialProviderViewController::prepareCredentialListForServiceIdentifiers:requestParameters: not bound -!missing-selector! ASPasskeyCredentialRequest::initWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms: not bound -!missing-selector! ASPasskeyCredentialRequest::supportedAlgorithms not bound -!missing-selector! ASPasskeyCredentialRequestParameters::allowedCredentials not bound -!missing-selector! ASPasskeyCredentialRequestParameters::clientDataHash not bound -!missing-selector! ASPasskeyCredentialRequestParameters::relyingPartyIdentifier not bound -!missing-selector! ASPasskeyCredentialRequestParameters::userVerificationPreference not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput not bound -!missing-type! ASPasskeyCredentialRequestParameters not bound diff --git a/tests/xtro-sharpie/macOS-AuthenticationServices.todo b/tests/xtro-sharpie/macOS-AuthenticationServices.todo deleted file mode 100644 index f176bae4293..00000000000 --- a/tests/xtro-sharpie/macOS-AuthenticationServices.todo +++ /dev/null @@ -1,175 +0,0 @@ -!missing-enum! ASAuthorizationProviderExtensionFederationType not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::customFederationUserPreauthenticationRequestValues not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationMEXURL not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationMEXURLKeypath not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationPredicate not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationRequestURN not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationType not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::federationUserPreauthenticationURL not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomFederationUserPreauthenticationRequestValues: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationMEXURL: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationMEXURLKeypath: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationPredicate: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationRequestURN: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationType: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setFederationUserPreauthenticationURL: not bound -!missing-enum! ASAuthorizationProviderExtensionPlatformSSOProtocolVersion not bound -!missing-enum! ASAuthorizationProviderExtensionSupportedGrantTypes not bound -!missing-enum! ASAuthorizationPublicKeyCredentialAttachment not bound -!missing-enum! ASCredentialRequestType not bound -!missing-enum! ASPublicKeyCredentialClientDataCrossOriginValue not bound -!missing-enum-value! ASAuthorizationProviderExtensionAuthenticationMethod native value ASAuthorizationProviderExtensionAuthenticationMethodSmartCard = 3 not bound -!missing-enum-value! ASAuthorizationProviderExtensionKeyType native value ASAuthorizationProviderExtensionKeyTypeCurrentDeviceEncryption = 11 not bound -!missing-enum-value! ASAuthorizationProviderExtensionKeyType native value ASAuthorizationProviderExtensionKeyTypeCurrentDeviceSigning = 10 not bound -!missing-enum-value! ASAuthorizationProviderExtensionKeyType native value ASAuthorizationProviderExtensionKeyTypeSharedDeviceEncryption = 5 not bound -!missing-enum-value! ASAuthorizationProviderExtensionKeyType native value ASAuthorizationProviderExtensionKeyTypeSharedDeviceSigning = 4 not bound -!missing-enum-value! ASAuthorizationProviderExtensionKeyType native value ASAuthorizationProviderExtensionKeyTypeUserSmartCard = 20 not bound -!missing-enum-value! ASAuthorizationProviderExtensionRequestOptions native value ASAuthorizationProviderExtensionRequestOptionsRegistrationSharedDeviceKeys = 4 not bound -!missing-protocol! ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest not bound -!missing-protocol! ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider not bound -!missing-protocol! ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest not bound -!missing-protocol! ASCredentialIdentity not bound -!missing-protocol! ASCredentialRequest not bound -!missing-protocol-conformance! ASPasswordCredentialIdentity should conform to ASCredentialIdentity -!missing-protocol-member! ASAuthorizationProviderExtensionRegistrationHandler::protocolVersion not found -!missing-protocol-member! ASAuthorizationProviderExtensionRegistrationHandler::registrationDidCancel not found -!missing-protocol-member! ASAuthorizationProviderExtensionRegistrationHandler::supportedGrantTypes not found -!missing-selector! +ASPasskeyAssertionCredential::credentialWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID: not bound -!missing-selector! +ASPasskeyCredentialIdentity::identityWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier: not bound -!missing-selector! +ASPasskeyRegistrationCredential::credentialWithRelyingParty:clientDataHash:credentialID:attestationObject: not bound -!missing-selector! +ASPasswordCredentialRequest::requestWithCredentialIdentity: not bound -!missing-selector! +ASSettingsHelper::openCredentialProviderAppSettingsWithCompletionHandler: not bound -!missing-selector! +ASSettingsHelper::openVerificationCodeAppSettingsWithCompletionHandler: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertion::attachment not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistration::attachment not bound -!missing-selector! ASAuthorizationProviderExtensionAuthorizationRequest::callerAuditToken not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::additionalAuthorizationScopes not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::customKeyExchangeRequestValues not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::customKeyRequestValues not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::customRefreshRequestValues not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::customRequestJWTParameterName not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::groupRequestClaimName not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::groupResponseClaimName not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::jwksTrustedRootCertificates not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::keyEndpointURL not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::loginRequestEncryptionAPVPrefix not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::loginRequestEncryptionPublicKey not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::refreshEndpointURL not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setAdditionalAuthorizationScopes: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyExchangeRequestBodyClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyExchangeRequestHeaderClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyExchangeRequestValues: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyRequestBodyClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyRequestHeaderClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomKeyRequestValues: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomRefreshRequestBodyClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomRefreshRequestHeaderClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomRefreshRequestValues: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setCustomRequestJWTParameterName: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setGroupRequestClaimName: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setGroupResponseClaimName: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setJwksTrustedRootCertificates: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setKeyEndpointURL: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setLoginRequestEncryptionAPVPrefix: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setLoginRequestEncryptionPublicKey: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setRefreshEndpointURL: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setUniqueIdentifierClaimName: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::uniqueIdentifierClaimName not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::decryptionKeysNeedRepair not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::extensionData not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::saveUserLoginConfiguration:error: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::userLoginConfiguration not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::initWithLoginUserName: not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::loginUserName not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::setCustomAssertionRequestBodyClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::setCustomAssertionRequestHeaderClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::setCustomLoginRequestBodyClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::setCustomLoginRequestHeaderClaims:returningError: not bound -!missing-selector! ASAuthorizationProviderExtensionUserLoginConfiguration::setLoginUserName: not bound -!missing-selector! ASAuthorizationWebBrowserPlatformPublicKeyCredential::customTitle not bound -!missing-selector! ASAuthorizationWebBrowserPlatformPublicKeyCredential::providerName not bound -!missing-selector! ASCredentialIdentityStore::removeCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialIdentityStore::replaceCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialIdentityStore::saveCredentialIdentityEntries:completion: not bound -!missing-selector! ASCredentialProviderExtensionContext::completeAssertionRequestWithSelectedPasskeyCredential:completionHandler: not bound -!missing-selector! ASCredentialProviderExtensionContext::completeRegistrationRequestWithSelectedPasskeyCredential:completionHandler: not bound -!missing-selector! ASCredentialProviderViewController::prepareInterfaceForPasskeyRegistration: not bound -!missing-selector! ASCredentialProviderViewController::prepareInterfaceToProvideCredentialForRequest: not bound -!missing-selector! ASCredentialProviderViewController::provideCredentialWithoutUserInteractionForRequest: not bound -!missing-selector! ASPasskeyAssertionCredential::authenticatorData not bound -!missing-selector! ASPasskeyAssertionCredential::clientDataHash not bound -!missing-selector! ASPasskeyAssertionCredential::credentialID not bound -!missing-selector! ASPasskeyAssertionCredential::initWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID: not bound -!missing-selector! ASPasskeyAssertionCredential::relyingParty not bound -!missing-selector! ASPasskeyAssertionCredential::signature not bound -!missing-selector! ASPasskeyAssertionCredential::userHandle not bound -!missing-selector! ASPasskeyCredentialIdentity::credentialID not bound -!missing-selector! ASPasskeyCredentialIdentity::initWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier: not bound -!missing-selector! ASPasskeyCredentialIdentity::rank not bound -!missing-selector! ASPasskeyCredentialIdentity::recordIdentifier not bound -!missing-selector! ASPasskeyCredentialIdentity::relyingPartyIdentifier not bound -!missing-selector! ASPasskeyCredentialIdentity::setRank: not bound -!missing-selector! ASPasskeyCredentialIdentity::userHandle not bound -!missing-selector! ASPasskeyCredentialIdentity::userName not bound -!missing-selector! ASPasskeyCredentialRequest::clientDataHash not bound -!missing-selector! ASPasskeyCredentialRequest::setUserVerificationPreference: not bound -!missing-selector! ASPasskeyCredentialRequest::userVerificationPreference not bound -!missing-selector! ASPasskeyRegistrationCredential::attestationObject not bound -!missing-selector! ASPasskeyRegistrationCredential::clientDataHash not bound -!missing-selector! ASPasskeyRegistrationCredential::credentialID not bound -!missing-selector! ASPasskeyRegistrationCredential::initWithRelyingParty:clientDataHash:credentialID:attestationObject: not bound -!missing-selector! ASPasskeyRegistrationCredential::relyingParty not bound -!missing-selector! ASPasswordCredentialRequest::initWithCredentialIdentity: not bound -!missing-selector! ASPublicKeyCredentialClientData::challenge not bound -!missing-selector! ASPublicKeyCredentialClientData::crossOrigin not bound -!missing-selector! ASPublicKeyCredentialClientData::initWithChallenge:origin: not bound -!missing-selector! ASPublicKeyCredentialClientData::origin not bound -!missing-selector! ASPublicKeyCredentialClientData::setChallenge: not bound -!missing-selector! ASPublicKeyCredentialClientData::setCrossOrigin: not bound -!missing-selector! ASPublicKeyCredentialClientData::setOrigin: not bound -!missing-selector! ASPublicKeyCredentialClientData::setTopOrigin: not bound -!missing-selector! ASPublicKeyCredentialClientData::topOrigin not bound -!missing-type! ASAuthorizationProviderExtensionUserLoginConfiguration not bound -!missing-type! ASPasskeyAssertionCredential not bound -!missing-type! ASPasskeyCredentialIdentity not bound -!missing-type! ASPasskeyCredentialRequest not bound -!missing-type! ASPasskeyRegistrationCredential not bound -!missing-type! ASPasswordCredentialRequest not bound -!missing-type! ASPublicKeyCredentialClientData not bound -!missing-type! ASSettingsHelper not bound -!missing-enum! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation not bound -!missing-enum! ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement not bound -!missing-enum-value! ASAuthorizationProviderExtensionRequestOptions native value ASAuthorizationProviderExtensionRequestOptionsRegistrationDeviceKeyMigration = 8 not bound -!missing-selector! +ASPasskeyCredentialRequest::requestWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertion::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertionRequest::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialAssertionRequest::setLargeBlob: not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistration::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest::largeBlob not bound -!missing-selector! ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest::setLargeBlob: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::deviceContext not bound -!missing-selector! ASAuthorizationProviderExtensionLoginConfiguration::setDeviceContext: not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::resetDeviceKeys not bound -!missing-selector! ASAuthorizationProviderExtensionLoginManager::resetUserSecureEnclaveKey not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::dataToWrite not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::initWithOperation: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::operation not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput::setDataToWrite: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput::didWrite not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput::readData not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::initWithSupportRequirement: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::setSupportRequirement: not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput::supportRequirement not bound -!missing-selector! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput::isSupported not bound -!missing-selector! ASCredentialProviderViewController::prepareCredentialListForServiceIdentifiers:requestParameters: not bound -!missing-selector! ASPasskeyCredentialRequest::initWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms: not bound -!missing-selector! ASPasskeyCredentialRequest::supportedAlgorithms not bound -!missing-selector! ASPasskeyCredentialRequestParameters::allowedCredentials not bound -!missing-selector! ASPasskeyCredentialRequestParameters::clientDataHash not bound -!missing-selector! ASPasskeyCredentialRequestParameters::relyingPartyIdentifier not bound -!missing-selector! ASPasskeyCredentialRequestParameters::userVerificationPreference not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput not bound -!missing-type! ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput not bound -!missing-type! ASPasskeyCredentialRequestParameters not bound diff --git a/tests/xtro-sharpie/tvOS-AuthenticationServices.todo b/tests/xtro-sharpie/tvOS-AuthenticationServices.todo deleted file mode 100644 index 7b9e6852c2b..00000000000 --- a/tests/xtro-sharpie/tvOS-AuthenticationServices.todo +++ /dev/null @@ -1,3 +0,0 @@ -!missing-enum! ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState not bound -!missing-enum! ASAuthorizationPublicKeyCredentialAttachment not bound -!missing-enum! ASPublicKeyCredentialClientDataCrossOriginValue not bound diff --git a/tests/xtro-sharpie/watchOS-AuthenticationServices.todo b/tests/xtro-sharpie/watchOS-AuthenticationServices.todo deleted file mode 100644 index 7b9e6852c2b..00000000000 --- a/tests/xtro-sharpie/watchOS-AuthenticationServices.todo +++ /dev/null @@ -1,3 +0,0 @@ -!missing-enum! ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState not bound -!missing-enum! ASAuthorizationPublicKeyCredentialAttachment not bound -!missing-enum! ASPublicKeyCredentialClientDataCrossOriginValue not bound From 9c12c79d6de8302e986b3a55b61aef03386c200d Mon Sep 17 00:00:00 2001 From: GitHub Actions Autoformatter Date: Tue, 22 Aug 2023 19:01:46 +0000 Subject: [PATCH 02/12] Auto-format source code --- src/authenticationservices.cs | 202 ++++++++++++++++------------------ 1 file changed, 97 insertions(+), 105 deletions(-) diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index 2dc9d2c232f..d2ed4928712 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -111,7 +111,7 @@ public enum ASAuthorizationControllerRequestOptions : ulong { public enum ASAuthorizationProviderExtensionAuthenticationMethod : long { Password = 1, UserSecureEnclaveKey = 2, - [Mac (14,0)] + [Mac (14, 0)] SmartCard = 3, } @@ -121,15 +121,15 @@ public enum ASAuthorizationProviderExtensionKeyType : long { DeviceSigning = 1, DeviceEncryption = 2, SecureEnclaveKey = 3, - [Mac (14,0)] + [Mac (14, 0)] SharedDeviceSigning = 4, - [Mac (14,0)] + [Mac (14, 0)] SharedDeviceEncryption = 5, - [Mac (14,0)] + [Mac (14, 0)] CurrentDeviceSigning = 10, - [Mac (14,0)] + [Mac (14, 0)] CurrentDeviceEncryption = 11, - [Mac (14,0)] + [Mac (14, 0)] UserSmartCard = 20 } @@ -149,13 +149,13 @@ public enum ASAuthorizationProviderExtensionRequestOptions : ulong { None = 0x0, UserInteractionEnabled = 1uL << 0, RegistrationRepair = 1uL << 1, - [Mac (14,0)] + [Mac (14, 0)] RegistrationSharedDeviceKeys = 1uL << 2, - [Mac (14,0)] + [Mac (14, 0)] RegistrationDeviceKeyMigration = 1uL << 3, } - [Watch (10,0), TV (17,0), iOS (17,0), MacCatalyst (16, 4), Mac (13, 3)] + [Watch (10, 0), TV (17, 0), iOS (17, 0), MacCatalyst (16, 4), Mac (13, 3)] [Native] public enum ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState : long { Authorized, @@ -163,7 +163,7 @@ public enum ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStat NotDetermined, } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (14,0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (14, 0)] [Native] public enum ASCredentialRequestType : long { Password = 0, @@ -214,19 +214,19 @@ interface ASCredentialIdentityStore { void ReplaceCredentialIdentities (ASPasswordCredentialIdentity [] newCredentialIdentities, [NullAllowed] ASCredentialIdentityStoreCompletionHandler completion); [Async] - [Mac (14,0), MacCatalyst (17,0)] + [Mac (14, 0), MacCatalyst (17, 0)] [Export ("saveCredentialIdentityEntries:completion:")] - void SaveCredentialIdentityEntries (ASCredentialIdentity[] credentialIdentities, [NullAllowed] Action completion); + void SaveCredentialIdentityEntries (ASCredentialIdentity [] credentialIdentities, [NullAllowed] Action completion); [Async] - [Mac (14,0), MacCatalyst (17,0)] + [Mac (14, 0), MacCatalyst (17, 0)] [Export ("replaceCredentialIdentityEntries:completion:")] - void ReplaceCredentialIdentityEntries (ASCredentialIdentity[] newCredentialIdentities, [NullAllowed] Action completion); + void ReplaceCredentialIdentityEntries (ASCredentialIdentity [] newCredentialIdentities, [NullAllowed] Action completion); [Async] - [Mac (14,0), MacCatalyst (17,0)] + [Mac (14, 0), MacCatalyst (17, 0)] [Export ("removeCredentialIdentityEntries:completion:")] - void RemoveCredentialIdentityEntries (ASCredentialIdentity[] credentialIdentities, [NullAllowed] Action completion); + void RemoveCredentialIdentityEntries (ASCredentialIdentity [] credentialIdentities, [NullAllowed] Action completion); } [Introduced (PlatformName.MacCatalyst, 14, 0)] @@ -264,12 +264,12 @@ interface ASCredentialProviderExtensionContext { void CancelRequest (NSError error); [Async] - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("completeRegistrationRequestWithSelectedPasskeyCredential:completionHandler:")] void CompleteRegistrationRequest (ASPasskeyRegistrationCredential credential, [NullAllowed] Action completionHandler); [Async] - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("completeAssertionRequestWithSelectedPasskeyCredential:completionHandler:")] void CompleteAssertionRequest (ASPasskeyAssertionCredential credential, [NullAllowed] Action completionHandler); } @@ -349,19 +349,19 @@ interface ASCredentialProviderViewController { [Export ("prepareInterfaceForExtensionConfiguration")] void PrepareInterfaceForExtensionConfiguration (); - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("prepareCredentialListForServiceIdentifiers:requestParameters:")] - void PrepareCredentialList (ASCredentialServiceIdentifier[] serviceIdentifiers, ASPasskeyCredentialRequestParameters requestParameters); + void PrepareCredentialList (ASCredentialServiceIdentifier [] serviceIdentifiers, ASPasskeyCredentialRequestParameters requestParameters); - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("provideCredentialWithoutUserInteractionForRequest:")] void ProvideCredentialWithoutUserInteraction (ASCredentialRequest credentialRequest); - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("prepareInterfaceToProvideCredentialForRequest:")] void PrepareInterfaceToProvideCredential (ASCredentialRequest credentialRequest); - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17, 0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("prepareInterfaceForPasskeyRegistration:")] void PrepareInterfaceForPasskeyRegistration (ASCredentialRequest registrationRequest); @@ -462,21 +462,21 @@ enum ASUserDetectionStatus : long { LikelyReal, } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Native] public enum ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement : long { Required, Preferred, } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Native] public enum ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation : long { Read, Write, } - [Watch (10,0), TV (17,0), Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Native] public enum ASPublicKeyCredentialClientDataCrossOriginValue : long { NotSet, @@ -484,17 +484,16 @@ public enum ASPublicKeyCredentialClientDataCrossOriginValue : long { SameOriginWithAncestors, } - [Watch (10,0), TV (17,0), Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [Watch (10, 0), TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Native] public enum ASAuthorizationPublicKeyCredentialAttachment : long { Platform, CrossPlatform, } - [NoWatch, NoTV, Mac (14,0), NoiOS, NoMacCatalyst] + [NoWatch, NoTV, Mac (14, 0), NoiOS, NoMacCatalyst] [Native] - public enum ASAuthorizationProviderExtensionFederationType : long - { + public enum ASAuthorizationProviderExtensionFederationType : long { None = 0, WSTrust = 1, DynamicWSTrust = 2, @@ -1315,10 +1314,9 @@ public enum ASAuthorizationProviderExtensionSupportedGrantTypes : long { Saml20 = 1L << 3, } - [NoWatch, NoTV, NoiOS, Mac (14,0), NoMacCatalyst] + [NoWatch, NoTV, NoiOS, Mac (14, 0), NoMacCatalyst] [Native] - public enum ASAuthorizationProviderExtensionPlatformSSOProtocolVersion : long - { + public enum ASAuthorizationProviderExtensionPlatformSSOProtocolVersion : long { Version1_0 = 0, Version2_0 = 1, } @@ -1360,7 +1358,7 @@ interface ASAuthorizationPlatformPublicKeyCredentialAssertionRequest : ASAuthori ASAuthorizationPlatformPublicKeyCredentialDescriptor [] PlatformAllowedCredentials { get; set; } [NullAllowed] - [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17,0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("largeBlob", ArgumentSemantic.Assign)] ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput LargeBlob { get; set; } } @@ -1585,11 +1583,11 @@ interface ASAuthorizationCustomMethod { [BaseType (typeof (NSObject))] interface ASAuthorizationPlatformPublicKeyCredentialAssertion : ASAuthorizationPublicKeyCredentialAssertion { - [iOS (17,0), NoWatch, NoTV, Mac (14, 0), NoMacCatalyst] + [iOS (17, 0), NoWatch, NoTV, Mac (14, 0), NoMacCatalyst] [Export ("attachment")] ASAuthorizationPublicKeyCredentialAttachment Attachment { get; } - [NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17,0)] + [NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [NullAllowed] [Export ("largeBlob", ArgumentSemantic.Assign)] ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput LargeBlob { get; } @@ -1601,7 +1599,7 @@ interface ASAuthorizationPlatformPublicKeyCredentialAssertion : ASAuthorizationP interface ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest : ASAuthorizationPublicKeyCredentialRegistrationRequest { [NullAllowed] - [NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17,0)] + [NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("largeBlob", ArgumentSemantic.Assign)] ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput LargeBlob { get; set; } } @@ -1621,12 +1619,12 @@ interface ASAuthorizationSecurityKeyPublicKeyCredentialRegistration : ASAuthoriz [BaseType (typeof (NSObject))] interface ASAuthorizationPlatformPublicKeyCredentialRegistration : ASAuthorizationPublicKeyCredentialRegistration { - [iOS (17,0), NoWatch, NoTV, Mac (14, 0), NoMacCatalyst] + [iOS (17, 0), NoWatch, NoTV, Mac (14, 0), NoMacCatalyst] [Export ("attachment")] ASAuthorizationPublicKeyCredentialAttachment Attachment { get; } [NullAllowed] - [NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17,0)] + [NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("largeBlob", ArgumentSemantic.Assign)] ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput LargeBlob { get; } } @@ -1735,7 +1733,7 @@ interface ASAuthorizationProviderExtensionLoginConfiguration { [Mac (14, 0)] [Export ("jwksTrustedRootCertificates", ArgumentSemantic.Copy)] - NSObject[] JwksTrustedRootCertificates { get; set; } + NSObject [] JwksTrustedRootCertificates { get; set; } [Mac (14, 0)] [NullAllowed] @@ -1764,7 +1762,7 @@ interface ASAuthorizationProviderExtensionLoginConfiguration { IntPtr /* SecKeyRef */ _LoginRequestEncryptionPublicKey { get; set; } [Mac (14, 0)] - SecKey LoginRequestEncryptionPublicKey { + SecKey LoginRequestEncryptionPublicKey { [Wrap ("new SecKey (this._LoginRequestEncryptionPublicKey, owns: false)")] get; [Wrap ("_LoginRequestEncryptionPublicKey = value.Handle")] @@ -1778,7 +1776,7 @@ SecKey LoginRequestEncryptionPublicKey { [Mac (14, 0)] [Export ("customKeyExchangeRequestValues", ArgumentSemantic.Copy)] - NSUrlQueryItem[] CustomKeyExchangeRequestValues { get; set; } + NSUrlQueryItem [] CustomKeyExchangeRequestValues { get; set; } [Mac (14, 0)] [NullAllowed] @@ -1787,37 +1785,37 @@ SecKey LoginRequestEncryptionPublicKey { [Mac (14, 0)] [Export ("customRefreshRequestValues", ArgumentSemantic.Copy)] - NSUrlQueryItem[] CustomRefreshRequestValues { get; set; } + NSUrlQueryItem [] CustomRefreshRequestValues { get; set; } - [Mac (14,0)] + [Mac (14, 0)] [Export ("setCustomRefreshRequestHeaderClaims:returningError:")] bool SetCustomRefreshRequestHeaderClaims (NSDictionary claims, [NullAllowed] out NSError error); - [Mac (14,0)] + [Mac (14, 0)] [Export ("setCustomRefreshRequestBodyClaims:returningError:")] bool SetCustomRefreshRequestBodyClaims (NSDictionary claims, [NullAllowed] out NSError error); [Mac (14, 0)] [Export ("customKeyRequestValues", ArgumentSemantic.Copy)] - NSUrlQueryItem[] CustomKeyRequestValues { get; set; } + NSUrlQueryItem [] CustomKeyRequestValues { get; set; } - [Mac (14,0)] + [Mac (14, 0)] [Export ("setCustomKeyRequestHeaderClaims:returningError:")] bool SetCustomKeyRequestHeaderClaims (NSDictionary claims, [NullAllowed] out NSError error); - [Mac (14,0)] + [Mac (14, 0)] [Export ("setCustomKeyRequestBodyClaims:returningError:")] bool SetCustomKeyRequestBodyClaims (NSDictionary claims, [NullAllowed] out NSError error); - [Mac (14,0)] + [Mac (14, 0)] [Export ("setCustomKeyExchangeRequestHeaderClaims:returningError:")] bool SetCustomKeyExchangeRequestHeaderClaims (NSDictionary claims, [NullAllowed] out NSError error); - [Mac (14,0)] + [Mac (14, 0)] [Export ("setCustomKeyExchangeRequestBodyClaims:returningError:")] bool SetCustomKeyExchangeRequestBodyClaims (NSDictionary claims, [NullAllowed] out NSError error); - [Mac (14,0)] + [Mac (14, 0)] [NullAllowed, Export ("additionalAuthorizationScopes")] string AdditionalAuthorizationScopes { get; set; } @@ -1847,7 +1845,7 @@ SecKey LoginRequestEncryptionPublicKey { [Mac (14, 0)] [Export ("customFederationUserPreauthenticationRequestValues", ArgumentSemantic.Copy)] - NSUrlQueryItem[] CustomFederationUserPreauthenticationRequestValues { get; set; } + NSUrlQueryItem [] CustomFederationUserPreauthenticationRequestValues { get; set; } [Mac (14, 0)] [NullAllowed] @@ -1916,11 +1914,11 @@ interface ASAuthorizationProviderExtensionLoginManager { [Export ("presentRegistrationViewControllerWithCompletion:")] void PresentRegistrationViewController (Action completion); - [Mac (14,0)] + [Mac (14, 0)] [Export ("resetUserSecureEnclaveKey")] void ResetUserSecureEnclaveKey (); - [Mac (14,0)] + [Mac (14, 0)] [Export ("resetDeviceKeys")] void ResetDeviceKeys (); @@ -1929,15 +1927,15 @@ interface ASAuthorizationProviderExtensionLoginManager { [Export ("userLoginConfiguration", ArgumentSemantic.Copy)] ASAuthorizationProviderExtensionUserLoginConfiguration UserLoginConfiguration { get; } - [Mac (14,0)] + [Mac (14, 0)] [Export ("decryptionKeysNeedRepair")] void DecryptionKeysNeedRepair (); - [Mac (14,0)] + [Mac (14, 0)] [Export ("saveUserLoginConfiguration:error:")] bool SaveUserLoginConfiguration (ASAuthorizationProviderExtensionUserLoginConfiguration userLoginConfiguration, [NullAllowed] out NSError error); - [Mac (14,0)] + [Mac (14, 0)] [Export ("extensionData")] NSDictionary ExtensionData { get; } @@ -1969,7 +1967,7 @@ interface ASAuthorizationProviderExtensionRegistrationHandler { [Export ("supportedGrantTypes")] ASAuthorizationProviderExtensionSupportedGrantTypes SupportedGrantTypes { get; } - [Mac (14,0)] + [Mac (14, 0)] [Export ("registrationDidCancel")] void RegistrationDidCancel (); @@ -2006,7 +2004,7 @@ interface ASAuthorizationWebBrowserPlatformPublicKeyCredential { [Export ("userHandle")] NSData UserHandle { get; } - [MacCatalyst (17,0), Mac (14,0)] + [MacCatalyst (17, 0), Mac (14, 0)] [Export ("providerName")] string ProviderName { get; } @@ -2032,7 +2030,7 @@ interface ASAuthorizationWebBrowserPublicKeyCredentialManager { ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState AuthorizationStateForPlatformCredentials { get; } } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface ASSettingsHelper { @@ -2047,9 +2045,9 @@ interface ASSettingsHelper { void OpenVerificationCodeAppSettings ([NullAllowed] Action completionHandler); } - interface IASCredentialRequest {} + interface IASCredentialRequest { } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Protocol] [BaseType (typeof (NSObject))] interface ASCredentialRequest : NSSecureCoding, NSCopying { @@ -2062,7 +2060,7 @@ interface ASCredentialRequest : NSSecureCoding, NSCopying { ASCredentialIdentity CredentialIdentity { get; } } - [NoWatch, NoTV, MacCatalyst (17,0), Mac (14,0), iOS (17,0)] + [NoWatch, NoTV, MacCatalyst (17, 0), Mac (14, 0), iOS (17, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface ASPasswordCredentialRequest : ASCredentialRequest { @@ -2075,7 +2073,7 @@ interface ASPasswordCredentialRequest : ASCredentialRequest { ASPasswordCredentialRequest Request (ASPasswordCredentialIdentity credentialIdentity); } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [BaseType (typeof (NSObject))] interface ASPasskeyRegistrationCredential : ASAuthorizationCredential { [Export ("initWithRelyingParty:clientDataHash:credentialID:attestationObject:")] @@ -2098,12 +2096,12 @@ interface ASPasskeyRegistrationCredential : ASAuthorizationCredential { NSData AttestationObject { get; } } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface ASPasskeyCredentialRequest : ASCredentialRequest { [Export ("initWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms:")] - NativeHandle Constructor (ASPasskeyCredentialIdentity credentialIdentity, NSData clientDataHash, string userVerificationPreference, NSNumber[] supportedAlgorithms); + NativeHandle Constructor (ASPasskeyCredentialIdentity credentialIdentity, NSData clientDataHash, string userVerificationPreference, NSNumber [] supportedAlgorithms); [Export ("clientDataHash")] NSData ClientDataHash { get; } @@ -2112,17 +2110,17 @@ interface ASPasskeyCredentialRequest : ASCredentialRequest { string UserVerificationPreference { get; set; } [Export ("supportedAlgorithms")] - NSNumber[] SupportedAlgorithms { get; } + NSNumber [] SupportedAlgorithms { get; } [Static] [Export ("requestWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms:")] - ASPasskeyCredentialRequest Create (ASPasskeyCredentialIdentity credentialIdentity, NSData clientDataHash, string userVerificationPreference, NSNumber[] supportedAlgorithms); + ASPasskeyCredentialRequest Create (ASPasskeyCredentialIdentity credentialIdentity, NSData clientDataHash, string userVerificationPreference, NSNumber [] supportedAlgorithms); } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Protocol] - [BaseType (typeof(NSObject))] + [BaseType (typeof (NSObject))] interface ASCredentialIdentity { [Abstract] @@ -2142,9 +2140,9 @@ interface ASCredentialIdentity { nint Rank { get; set; } } - interface IASCredentialIdentity {} + interface IASCredentialIdentity { } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface ASPasskeyCredentialIdentity : NSCopying, NSSecureCoding, ASCredentialIdentity { @@ -2174,8 +2172,8 @@ interface ASPasskeyCredentialIdentity : NSCopying, NSSecureCoding, ASCredentialI new nint Rank { get; set; } } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] - [BaseType (typeof(NSObject))] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [BaseType (typeof (NSObject))] interface ASPasskeyAssertionCredential : ASAuthorizationCredential { [Export ("initWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID:")] NativeHandle Constructor (NSData userHandle, string relyingParty, NSData signature, NSData clientDataHash, NSData authenticatorData, NSData credentialId); @@ -2203,8 +2201,8 @@ interface ASPasskeyAssertionCredential : ASAuthorizationCredential { NSData CredentialId { get; } } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] - [BaseType (typeof(NSObject))] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface ASPasskeyCredentialRequestParameters : NSSecureCoding, NSCopying { [Export ("relyingPartyIdentifier")] @@ -2217,11 +2215,11 @@ interface ASPasskeyCredentialRequestParameters : NSSecureCoding, NSCopying { string UserVerificationPreference { get; } [Export ("allowedCredentials", ArgumentSemantic.Copy)] - NSData[] AllowedCredentials { get; } + NSData [] AllowedCredentials { get; } } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] - [BaseType (typeof(NSObject))] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput { [Export ("initWithSupportRequirement:")] @@ -2231,11 +2229,10 @@ interface ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput { ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement SupportRequirement { get; set; } } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] - [BaseType (typeof(NSObject))] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [BaseType (typeof (NSObject))] [DisableDefaultCtor] - interface ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput - { + interface ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput { [Export ("initWithOperation:")] NativeHandle Constructor (ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperation operation); @@ -2246,8 +2243,8 @@ interface ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput NSData DataToWrite { get; set; } } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] - [BaseType (typeof(NSObject))] + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput { [NullAllowed, Export ("readData")] @@ -2257,16 +2254,15 @@ interface ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput { bool DidWrite { get; } } - [NoWatch, NoTV, Mac (14,0), iOS (17,0), MacCatalyst (17,0)] - [BaseType (typeof(NSObject))] - interface ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput - { + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [BaseType (typeof (NSObject))] + interface ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput { [Export ("isSupported")] bool IsSupported { get; } } - [NoWatch, NoTV, NoiOS, MacCatalyst (17,0), Mac (14,0)] - [BaseType (typeof(NSObject))] + [NoWatch, NoTV, NoiOS, MacCatalyst (17, 0), Mac (14, 0)] + [BaseType (typeof (NSObject))] [DisableDefaultCtor] interface ASPublicKeyCredentialClientData { [Export ("initWithChallenge:origin:")] @@ -2285,11 +2281,10 @@ interface ASPublicKeyCredentialClientData { ASPublicKeyCredentialClientDataCrossOriginValue CrossOrigin { get; set; } } - [NoWatch, NoTV, NoiOS, NoMacCatalyst, Mac (14,0)] - [BaseType (typeof(NSObject))] + [NoWatch, NoTV, NoiOS, NoMacCatalyst, Mac (14, 0)] + [BaseType (typeof (NSObject))] [DisableDefaultCtor] - interface ASAuthorizationProviderExtensionUserLoginConfiguration - { + interface ASAuthorizationProviderExtensionUserLoginConfiguration { [Export ("loginUserName")] string LoginUserName { get; set; } @@ -2309,10 +2304,9 @@ interface ASAuthorizationProviderExtensionUserLoginConfiguration bool SetCustomLoginRequestBodyClaims (NSDictionary claims, [NullAllowed] out NSError error); } - [NoWatch, NoTV, NoiOS, MacCatalyst (17,0), Mac (14,0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (17, 0), Mac (14, 0)] [Protocol] - interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider - { + interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider { [Abstract] [Export ("createCredentialRegistrationRequestWithClientData:name:userID:")] ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest CreateCredentialRegistrationRequest (ASPublicKeyCredentialClientData clientData, string name, NSData userID); @@ -2322,27 +2316,25 @@ interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider ASAuthorizationPlatformPublicKeyCredentialAssertionRequest CreateCredentialAssertionRequest (ASPublicKeyCredentialClientData clientData); } - [NoWatch, NoTV, NoiOS, MacCatalyst (17,0), Mac (14,0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (17, 0), Mac (14, 0)] [Protocol] - interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest - { + interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest { [Abstract] [Export ("clientData")] ASPublicKeyCredentialClientData ClientData { get; } [Abstract] [NullAllowed, Export ("excludedCredentials", ArgumentSemantic.Copy)] - ASAuthorizationPlatformPublicKeyCredentialDescriptor[] ExcludedCredentials { get; set; } + ASAuthorizationPlatformPublicKeyCredentialDescriptor [] ExcludedCredentials { get; set; } [Abstract] [Export ("shouldShowHybridTransport")] bool ShouldShowHybridTransport { get; set; } } - [NoWatch, NoTV, NoiOS, MacCatalyst (17,0), Mac (14,0)] + [NoWatch, NoTV, NoiOS, MacCatalyst (17, 0), Mac (14, 0)] [Protocol] - interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest - { + interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest { [Abstract] [Export ("clientData")] ASPublicKeyCredentialClientData ClientData { get; } From 5e097aeeeeb37fb94bae3e208c87565a812e6746 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Tue, 22 Aug 2023 15:15:21 -0400 Subject: [PATCH 03/12] Update src/authenticationservices.cs --- src/authenticationservices.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index d2ed4928712..20183775b16 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -130,7 +130,7 @@ public enum ASAuthorizationProviderExtensionKeyType : long { [Mac (14, 0)] CurrentDeviceEncryption = 11, [Mac (14, 0)] - UserSmartCard = 20 + UserSmartCard = 20, } [NoWatch, NoTV, NoiOS, NoMacCatalyst, Mac (13, 0)] From 0e0d920a21b884ded53b3077fbd8140ab9cd154c Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Wed, 23 Aug 2023 11:01:14 -0400 Subject: [PATCH 04/12] Apply suggestions from code review Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com> --- src/authenticationservices.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index 20183775b16..b4f5df0331f 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -2173,6 +2173,7 @@ interface ASPasskeyCredentialIdentity : NSCopying, NSSecureCoding, ASCredentialI } [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] + [DisableDefaultCtor] [BaseType (typeof (NSObject))] interface ASPasskeyAssertionCredential : ASAuthorizationCredential { [Export ("initWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID:")] @@ -2309,7 +2310,7 @@ interface ASAuthorizationProviderExtensionUserLoginConfiguration { interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider { [Abstract] [Export ("createCredentialRegistrationRequestWithClientData:name:userID:")] - ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest CreateCredentialRegistrationRequest (ASPublicKeyCredentialClientData clientData, string name, NSData userID); + ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest CreateCredentialRegistrationRequest (ASPublicKeyCredentialClientData clientData, string name, NSData userId); [Abstract] [Export ("createCredentialAssertionRequestWithClientData:")] @@ -2339,7 +2340,6 @@ interface ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest { [Export ("clientData")] ASPublicKeyCredentialClientData ClientData { get; } - // @required @property (nonatomic) BOOL shouldShowHybridTransport; [Abstract] [Export ("shouldShowHybridTransport")] bool ShouldShowHybridTransport { get; set; } From 544a69ea0b413835307bc45ac3d755409459e90a Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Thu, 24 Aug 2023 11:39:58 -0400 Subject: [PATCH 05/12] Update src/authenticationservices.cs Co-authored-by: Rolf Bjarne Kvinge --- src/authenticationservices.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index b4f5df0331f..54bea42494f 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -189,9 +189,9 @@ interface ASCredentialIdentityStore { void GetCredentialIdentityStoreState (Action completion); [Async] - [Deprecated (PlatformName.MacOSX, 14, 0, message: "Use 'PrepareInterfaceToProvideCredential (ASPasswordCredentialIdentity)' instead.")] - [Deprecated (PlatformName.iOS, 17, 0, message: "Use 'PrepareInterfaceToProvideCredential (ASPasswordCredentialIdentity)' instead.")] - [Deprecated (PlatformName.MacCatalyst, 17, 0, message: "Use 'PrepareInterfaceToProvideCredential (ASPasswordCredentialIdentity)' instead.")] + [Deprecated (PlatformName.MacOSX, 14, 0, message: "Use 'SaveCredentialIdentityEntries (ASCredentialIdentity [])' instead.")] + [Deprecated (PlatformName.iOS, 17, 0, message: "Use 'SaveCredentialIdentityEntries (ASCredentialIdentity [])' instead.")] + [Deprecated (PlatformName.MacCatalyst, 17, 0, message: "Use 'SaveCredentialIdentityEntries (ASCredentialIdentity [])' instead.")] [Export ("saveCredentialIdentities:completion:")] void SaveCredentialIdentities (ASPasswordCredentialIdentity [] credentialIdentities, [NullAllowed] ASCredentialIdentityStoreCompletionHandler completion); From f678a2f0809c8acdaa19489358c65f453388f072 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Mon, 28 Aug 2023 14:35:31 -0400 Subject: [PATCH 06/12] Add missing attrs. --- src/authenticationservices.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index 54bea42494f..a0b8da44155 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -214,17 +214,17 @@ interface ASCredentialIdentityStore { void ReplaceCredentialIdentities (ASPasswordCredentialIdentity [] newCredentialIdentities, [NullAllowed] ASCredentialIdentityStoreCompletionHandler completion); [Async] - [Mac (14, 0), MacCatalyst (17, 0)] + [iOS (17,0), TV (17,0), Mac (14, 0), MacCatalyst (17, 0)] [Export ("saveCredentialIdentityEntries:completion:")] void SaveCredentialIdentityEntries (ASCredentialIdentity [] credentialIdentities, [NullAllowed] Action completion); [Async] - [Mac (14, 0), MacCatalyst (17, 0)] + [iOS (17,0), TV (17,0), Mac (14, 0), MacCatalyst (17, 0)] [Export ("replaceCredentialIdentityEntries:completion:")] void ReplaceCredentialIdentityEntries (ASCredentialIdentity [] newCredentialIdentities, [NullAllowed] Action completion); [Async] - [Mac (14, 0), MacCatalyst (17, 0)] + [iOS (17,0), TV (17,0), Mac (14, 0), MacCatalyst (17, 0)] [Export ("removeCredentialIdentityEntries:completion:")] void RemoveCredentialIdentityEntries (ASCredentialIdentity [] credentialIdentities, [NullAllowed] Action completion); } From de310c6e88c97e34f6200582acbb3409a559b604 Mon Sep 17 00:00:00 2001 From: GitHub Actions Autoformatter Date: Mon, 28 Aug 2023 19:11:52 +0000 Subject: [PATCH 07/12] Auto-format source code --- src/authenticationservices.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index a0b8da44155..05717c263b2 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -214,17 +214,17 @@ interface ASCredentialIdentityStore { void ReplaceCredentialIdentities (ASPasswordCredentialIdentity [] newCredentialIdentities, [NullAllowed] ASCredentialIdentityStoreCompletionHandler completion); [Async] - [iOS (17,0), TV (17,0), Mac (14, 0), MacCatalyst (17, 0)] + [iOS (17, 0), TV (17, 0), Mac (14, 0), MacCatalyst (17, 0)] [Export ("saveCredentialIdentityEntries:completion:")] void SaveCredentialIdentityEntries (ASCredentialIdentity [] credentialIdentities, [NullAllowed] Action completion); [Async] - [iOS (17,0), TV (17,0), Mac (14, 0), MacCatalyst (17, 0)] + [iOS (17, 0), TV (17, 0), Mac (14, 0), MacCatalyst (17, 0)] [Export ("replaceCredentialIdentityEntries:completion:")] void ReplaceCredentialIdentityEntries (ASCredentialIdentity [] newCredentialIdentities, [NullAllowed] Action completion); [Async] - [iOS (17,0), TV (17,0), Mac (14, 0), MacCatalyst (17, 0)] + [iOS (17, 0), TV (17, 0), Mac (14, 0), MacCatalyst (17, 0)] [Export ("removeCredentialIdentityEntries:completion:")] void RemoveCredentialIdentityEntries (ASCredentialIdentity [] credentialIdentities, [NullAllowed] Action completion); } From 4c9a34eb61ffb13adfa4635073075942615ba1f3 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Wed, 30 Aug 2023 09:38:42 -0400 Subject: [PATCH 08/12] Regenerate the file to add cinematic back. --- src/build/generator-frameworks.g.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/build/generator-frameworks.g.cs b/src/build/generator-frameworks.g.cs index 7e990095042..1cf12e086da 100644 --- a/src/build/generator-frameworks.g.cs +++ b/src/build/generator-frameworks.g.cs @@ -28,6 +28,7 @@ partial class Frameworks { "CarPlay", "CFNetwork", "Chip", + "Cinematic", "ClassKit", "CloudKit", "Compression", @@ -162,6 +163,7 @@ partial class Frameworks { "CallKit", "CFNetwork", "Chip", + "Cinematic", "ClassKit", "CloudKit", "Compression", @@ -341,6 +343,7 @@ partial class Frameworks { "BackgroundTasks", "CFNetwork", "Chip", + "Cinematic", "CloudKit", "Compression", "CoreAnimation", @@ -562,6 +565,7 @@ partial class Frameworks { bool? _CarPlay; bool? _CFNetwork; bool? _Chip; + bool? _Cinematic; bool? _ClassKit; bool? _ClockKit; bool? _CloudKit; @@ -725,6 +729,7 @@ partial class Frameworks { public bool HaveCarPlay { get { if (!_CarPlay.HasValue) _CarPlay = GetValue ("CarPlay"); return _CarPlay.Value; } } public bool HaveCFNetwork { get { if (!_CFNetwork.HasValue) _CFNetwork = GetValue ("CFNetwork"); return _CFNetwork.Value; } } public bool HaveChip { get { if (!_Chip.HasValue) _Chip = GetValue ("Chip"); return _Chip.Value; } } + public bool HaveCinematic { get { if (!_Cinematic.HasValue) _Cinematic = GetValue ("Cinematic"); return _Cinematic.Value; } } public bool HaveClassKit { get { if (!_ClassKit.HasValue) _ClassKit = GetValue ("ClassKit"); return _ClassKit.Value; } } public bool HaveClockKit { get { if (!_ClockKit.HasValue) _ClockKit = GetValue ("ClockKit"); return _ClockKit.Value; } } public bool HaveCloudKit { get { if (!_CloudKit.HasValue) _CloudKit = GetValue ("CloudKit"); return _CloudKit.Value; } } From 3174e6ae9a061241e126161aed79e8b6473f380d Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Thu, 31 Aug 2023 15:53:20 -0400 Subject: [PATCH 09/12] Fix ap with protocol. --- src/authenticationservices.cs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index 05717c263b2..7c7c066d03e 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -214,19 +214,19 @@ interface ASCredentialIdentityStore { void ReplaceCredentialIdentities (ASPasswordCredentialIdentity [] newCredentialIdentities, [NullAllowed] ASCredentialIdentityStoreCompletionHandler completion); [Async] - [iOS (17, 0), TV (17, 0), Mac (14, 0), MacCatalyst (17, 0)] + [iOS (17, 0), Mac (14, 0), MacCatalyst (17, 0)] [Export ("saveCredentialIdentityEntries:completion:")] - void SaveCredentialIdentityEntries (ASCredentialIdentity [] credentialIdentities, [NullAllowed] Action completion); + void SaveCredentialIdentityEntries (IASCredentialIdentity [] credentialIdentities, [NullAllowed] Action completion); [Async] - [iOS (17, 0), TV (17, 0), Mac (14, 0), MacCatalyst (17, 0)] + [iOS (17, 0), Mac (14, 0), MacCatalyst (17, 0)] [Export ("replaceCredentialIdentityEntries:completion:")] - void ReplaceCredentialIdentityEntries (ASCredentialIdentity [] newCredentialIdentities, [NullAllowed] Action completion); + void ReplaceCredentialIdentityEntries (IASCredentialIdentity [] newCredentialIdentities, [NullAllowed] Action completion); [Async] - [iOS (17, 0), TV (17, 0), Mac (14, 0), MacCatalyst (17, 0)] + [iOS (17, 0), Mac (14, 0), MacCatalyst (17, 0)] [Export ("removeCredentialIdentityEntries:completion:")] - void RemoveCredentialIdentityEntries (ASCredentialIdentity [] credentialIdentities, [NullAllowed] Action completion); + void RemoveCredentialIdentityEntries (IASCredentialIdentity [] credentialIdentities, [NullAllowed] Action completion); } [Introduced (PlatformName.MacCatalyst, 14, 0)] @@ -2057,7 +2057,7 @@ interface ASCredentialRequest : NSSecureCoding, NSCopying { [Abstract] [Export ("credentialIdentity")] - ASCredentialIdentity CredentialIdentity { get; } + IASCredentialIdentity CredentialIdentity { get; } } [NoWatch, NoTV, MacCatalyst (17, 0), Mac (14, 0), iOS (17, 0)] @@ -2118,9 +2118,10 @@ interface ASPasskeyCredentialRequest : ASCredentialRequest { } + interface IASCredentialIdentity {} + [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Protocol] - [BaseType (typeof (NSObject))] interface ASCredentialIdentity { [Abstract] @@ -2140,8 +2141,6 @@ interface ASCredentialIdentity { nint Rank { get; set; } } - interface IASCredentialIdentity { } - [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] From 2e37317cb493036fb72226c0a6847ae108ce1ae0 Mon Sep 17 00:00:00 2001 From: GitHub Actions Autoformatter Date: Thu, 31 Aug 2023 19:57:08 +0000 Subject: [PATCH 10/12] Auto-format source code --- src/authenticationservices.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index 7c7c066d03e..1b7be6bfd8b 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -2118,7 +2118,7 @@ interface ASPasskeyCredentialRequest : ASCredentialRequest { } - interface IASCredentialIdentity {} + interface IASCredentialIdentity { } [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Protocol] From 519967524f42dafb2e40e76aa21c18956898a427 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Saenz Date: Fri, 1 Sep 2023 10:33:49 -0400 Subject: [PATCH 11/12] Remove baseclass from protocol. --- src/authenticationservices.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index 1b7be6bfd8b..4b176cf90c2 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -2049,7 +2049,6 @@ interface IASCredentialRequest { } [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Protocol] - [BaseType (typeof (NSObject))] interface ASCredentialRequest : NSSecureCoding, NSCopying { [Abstract] [Export ("type")] From dd397f739e470f4630a7bf5abbb752eaabd1fd19 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Saenz Date: Fri, 1 Sep 2023 15:26:52 -0400 Subject: [PATCH 12/12] Add interfaces. --- src/authenticationservices.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index 4b176cf90c2..7843389e1d7 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -355,15 +355,15 @@ interface ASCredentialProviderViewController { [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("provideCredentialWithoutUserInteractionForRequest:")] - void ProvideCredentialWithoutUserInteraction (ASCredentialRequest credentialRequest); + void ProvideCredentialWithoutUserInteraction (IASCredentialRequest credentialRequest); [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("prepareInterfaceToProvideCredentialForRequest:")] - void PrepareInterfaceToProvideCredential (ASCredentialRequest credentialRequest); + void PrepareInterfaceToProvideCredential (IASCredentialRequest credentialRequest); [NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)] [Export ("prepareInterfaceForPasskeyRegistration:")] - void PrepareInterfaceForPasskeyRegistration (ASCredentialRequest registrationRequest); + void PrepareInterfaceForPasskeyRegistration (IASCredentialRequest registrationRequest); }