pyobjc-framework-AuthenticationServices 10.1__tar.gz → 10.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyobjc_framework_authenticationservices-10.3/Lib/AuthenticationServices/__init__.py +106 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/Lib/AuthenticationServices/_metadata.py +159 -2
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/Lib/pyobjc_framework_AuthenticationServices.egg-info/PKG-INFO +3 -3
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/Lib/pyobjc_framework_AuthenticationServices.egg-info/SOURCES.txt +6 -6
- pyobjc_framework_authenticationservices-10.3/Lib/pyobjc_framework_AuthenticationServices.egg-info/requires.txt +2 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/License.txt +1 -1
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/Modules/_AuthenticationServices_protocols.m +11 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PKG-INFO +3 -3
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationappleidcredential.py +6 -3
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationproviderextensionloginconfiguration.py +25 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationproviderextensionregistrationhandler.py +4 -0
- pyobjc_framework_authenticationservices-10.3/PyObjCTest/test_asauthorizationsecuritykeypublickeycredentialassertion.py +10 -0
- pyobjc_framework_authenticationservices-10.3/PyObjCTest/test_asauthorizationwebbrowserpublickeycredentailregistrationrequest.py +12 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationwebbrowserpublickeycredentialmanager.py +7 -1
- pyobjc_framework_authenticationservices-10.3/PyObjCTest/test_asauthorizationwebbrowserpublickeycredentialprovider.py +10 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_ascredentialidentitystore.py +15 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_aswebauthenticationsession.py +8 -0
- pyobjc_framework_authenticationservices-10.3/PyObjCTest/test_aswebauthenticationsessioncallback.py +10 -0
- pyobjc-framework-AuthenticationServices-10.1/metadata/raw/arm64-14.0.fwinfo → pyobjc_framework_authenticationservices-10.3/metadata/raw/arm64-14.5.fwinfo +503 -10
- pyobjc-framework-AuthenticationServices-10.1/metadata/raw/x86_64-14.0.fwinfo → pyobjc_framework_authenticationservices-10.3/metadata/raw/x86_64-14.5.fwinfo +503 -10
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/setup.py +1 -1
- pyobjc-framework-AuthenticationServices-10.1/Lib/AuthenticationServices/__init__.py +0 -34
- pyobjc-framework-AuthenticationServices-10.1/Lib/pyobjc_framework_AuthenticationServices.egg-info/requires.txt +0 -2
- pyobjc-framework-AuthenticationServices-10.1/metadata/raw/arm64-12.0.fwinfo +0 -5359
- pyobjc-framework-AuthenticationServices-10.1/metadata/raw/arm64-13.0.fwinfo +0 -6921
- pyobjc-framework-AuthenticationServices-10.1/metadata/raw/x86_64-12.0.fwinfo +0 -5359
- pyobjc-framework-AuthenticationServices-10.1/metadata/raw/x86_64-13.0.fwinfo +0 -6921
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/Lib/pyobjc_framework_AuthenticationServices.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/Lib/pyobjc_framework_AuthenticationServices.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/Lib/pyobjc_framework_AuthenticationServices.egg-info/top_level.txt +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/MANIFEST.in +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/Modules/_AuthenticationServices.m +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/Modules/pyobjc-api.h +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/Modules/pyobjc-compat.h +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorization.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationappleidbutton.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationappleidprovider.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationcontroller.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationcredential.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationerror.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationopenidrequest.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationprovider.py +0 -0
- /pyobjc-framework-AuthenticationServices-10.1/PyObjCTest/test_asAuthorizationproviderextensionauthorizationrequest.py → /pyobjc_framework_authenticationservices-10.3/PyObjCTest/test_asauthorizationproviderextensionauthorizationrequest.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationproviderextensionloginmanager.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationproviderextensionuserloginconfiguration.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationpublickeycredentialconstants.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationpublickeycredentialdescriptor.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationpublickeycredentiallargeblobRegistrationinput.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationpublickeycredentiallargeblobassertioninput.h +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationpublickeycredentiallargeblobassertionoutput.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationpublickeycredentiallargeblobregistrationoutput.py +0 -0
- /pyobjc-framework-AuthenticationServices-10.1/PyObjCTest/test_asauthorizationpublicKeycredentialregistration.py → /pyobjc_framework_authenticationservices-10.3/PyObjCTest/test_asauthorizationpublickeycredentialregistration.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationpublickeycredentialregistrationrequest.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationsecuritykeypublickeycredentialdescriptor.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationsinglesignonprovider.py +0 -0
- /pyobjc-framework-AuthenticationServices-10.1/PyObjCTest/test_ASAuthorizationSingleSignOnRequest.py → /pyobjc_framework_authenticationservices-10.3/PyObjCTest/test_asauthorizationsinglesignonrequest.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationwebbrowserplatformpublickeycredentialassertionrequest.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationwebbrowserplatformpublickeycredentialprovider.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asauthorizationwebbrowserplatformpublickeycredentialregistrationrequest.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_ascoseconstants.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_ascredentialidentity.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_ascredentialidentitystorestate.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_ascredentialproviderextensioncontext.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_ascredentialrequest.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_ascredentialserviceidentifier.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_asextensionerrors.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_aspublickeycredential.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_aspublickeycredentialclientdata.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_assettingshelper.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_aswebauthenticationsessionrequestdelegate.py +0 -0
- /pyobjc-framework-AuthenticationServices-10.1/PyObjCTest/test_aswebauthenticationsessionwebbrowsersessionHandling.py → /pyobjc_framework_authenticationservices-10.3/PyObjCTest/test_aswebauthenticationsessionwebbrowsersessionhandling.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_aswebauthenticationsessionwebbrowsersessionmanager.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/PyObjCTest/test_authenticationservices.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/metadata/AuthenticationServices.fwinfo +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/metadata/metadata.ini +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/metadata/raw/arm64-12.3.fwinfo +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/metadata/raw/arm64-13.3.fwinfo +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/metadata/raw/x86_64-10.15.fwinfo +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/metadata/raw/x86_64-10.16.fwinfo +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/metadata/raw/x86_64-12.3.fwinfo +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/metadata/raw/x86_64-13.3.fwinfo +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/pyobjc_setup.py +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/pyproject.toml +0 -0
- {pyobjc-framework-AuthenticationServices-10.1 → pyobjc_framework_authenticationservices-10.3}/setup.cfg +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the AuthenticationServices framework.
|
|
3
|
+
|
|
4
|
+
This module does not contain docstrings for the wrapped code, check Apple's
|
|
5
|
+
documentation for details on how to use these functions and classes.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _setup():
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
import Foundation
|
|
13
|
+
import objc
|
|
14
|
+
from . import _metadata, _AuthenticationServices
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="AuthenticationServices",
|
|
18
|
+
frameworkIdentifier="com.apple.AuthenticationServices",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/AuthenticationServices.framework"
|
|
21
|
+
),
|
|
22
|
+
globals_dict=globals(),
|
|
23
|
+
inline_list=None,
|
|
24
|
+
parents=(_AuthenticationServices, Foundation),
|
|
25
|
+
metadict=_metadata.__dict__,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
globals()["__dir__"] = dir_func
|
|
29
|
+
globals()["__getattr__"] = getattr_func
|
|
30
|
+
|
|
31
|
+
for cls, sel in (
|
|
32
|
+
("ASAuthorizationProviderExtensionLoginManager", b"init"),
|
|
33
|
+
("ASAuthorizationProviderExtensionLoginManager", b"new"),
|
|
34
|
+
("ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput", b"init"),
|
|
35
|
+
("ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput", b"new"),
|
|
36
|
+
("ASAuthorizationSecurityKeyPublicKeyCredentialAssertion", b"init"),
|
|
37
|
+
("ASAuthorizationSecurityKeyPublicKeyCredentialAssertion", b"new"),
|
|
38
|
+
("ASAuthorizationPlatformPublicKeyCredentialAssertion", b"init"),
|
|
39
|
+
("ASAuthorizationPlatformPublicKeyCredentialAssertion", b"new"),
|
|
40
|
+
("ASPasskeyCredentialIdentity", b"init"),
|
|
41
|
+
(
|
|
42
|
+
"ASCredentialProviderExtensionContext",
|
|
43
|
+
b"completeRequestReturningItems:completionHandler:",
|
|
44
|
+
),
|
|
45
|
+
("ASAuthorizationWebBrowserPlatformPublicKeyCredential", b"init"),
|
|
46
|
+
("ASAuthorizationWebBrowserPlatformPublicKeyCredential", b"new"),
|
|
47
|
+
("ASAuthorization", b"init"),
|
|
48
|
+
("ASAuthorization", b"new"),
|
|
49
|
+
("ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest", b"init"),
|
|
50
|
+
("ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest", b"new"),
|
|
51
|
+
("ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput", b"init"),
|
|
52
|
+
("ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput", b"new"),
|
|
53
|
+
("ASAuthorizationSecurityKeyPublicKeyCredentialProvider", b"init"),
|
|
54
|
+
("ASAuthorizationSecurityKeyPublicKeyCredentialProvider", b"new"),
|
|
55
|
+
("ASAuthorizationPlatformPublicKeyCredentialAssertionRequest", b"init"),
|
|
56
|
+
("ASAuthorizationPlatformPublicKeyCredentialAssertionRequest", b"new"),
|
|
57
|
+
("ASPasskeyCredentialRequest", b"init"),
|
|
58
|
+
("ASPublicKeyCredentialClientData", b"init"),
|
|
59
|
+
("ASPublicKeyCredentialClientData", b"new"),
|
|
60
|
+
("ASWebAuthenticationSessionCallback", b"init"),
|
|
61
|
+
("ASWebAuthenticationSessionCallback", b"new"),
|
|
62
|
+
("ASSettingsHelper", b"init"),
|
|
63
|
+
("ASSettingsHelper", b"new"),
|
|
64
|
+
("ASCredentialIdentityStore", b"init"),
|
|
65
|
+
("ASAuthorizationRequest", b"init"),
|
|
66
|
+
("ASAuthorizationRequest", b"new"),
|
|
67
|
+
("ASPasskeyCredentialRequestParameters", b"init"),
|
|
68
|
+
("ASPasswordCredentialRequest", b"init"),
|
|
69
|
+
("ASAuthorizationAppleIDCredential", b"init"),
|
|
70
|
+
("ASAuthorizationAppleIDCredential", b"new"),
|
|
71
|
+
("ASAuthorizationController", b"init"),
|
|
72
|
+
("ASAuthorizationController", b"new"),
|
|
73
|
+
("ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest", b"init"),
|
|
74
|
+
("ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest", b"new"),
|
|
75
|
+
("ASWebAuthenticationSession", b"init"),
|
|
76
|
+
("ASWebAuthenticationSession", b"new"),
|
|
77
|
+
("ASAuthorizationSingleSignOnProvider", b"init"),
|
|
78
|
+
("ASAuthorizationSingleSignOnProvider", b"new"),
|
|
79
|
+
("ASAuthorizationPlatformPublicKeyCredentialProvider", b"init"),
|
|
80
|
+
("ASAuthorizationPlatformPublicKeyCredentialProvider", b"new"),
|
|
81
|
+
("ASWebAuthenticationSessionRequest", b"init"),
|
|
82
|
+
("ASWebAuthenticationSessionRequest", b"new"),
|
|
83
|
+
("ASAuthorizationProviderExtensionLoginConfiguration", b"init"),
|
|
84
|
+
("ASAuthorizationProviderExtensionLoginConfiguration", b"new"),
|
|
85
|
+
("ASAuthorizationPlatformPublicKeyCredentialDescriptor", b"init"),
|
|
86
|
+
("ASAuthorizationPlatformPublicKeyCredentialDescriptor", b"new"),
|
|
87
|
+
("ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor", b"init"),
|
|
88
|
+
("ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor", b"new"),
|
|
89
|
+
("ASAuthorizationProviderExtensionUserLoginConfiguration", b"init"),
|
|
90
|
+
("ASAuthorizationProviderExtensionUserLoginConfiguration", b"new"),
|
|
91
|
+
("ASAuthorizationSingleSignOnCredential", b"init"),
|
|
92
|
+
("ASAuthorizationSingleSignOnCredential", b"new"),
|
|
93
|
+
("ASPasswordCredentialIdentity", b"init"),
|
|
94
|
+
("ASAuthorizationPlatformPublicKeyCredentialRegistration", b"init"),
|
|
95
|
+
("ASAuthorizationPlatformPublicKeyCredentialRegistration", b"new"),
|
|
96
|
+
("ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput", b"init"),
|
|
97
|
+
("ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput", b"new"),
|
|
98
|
+
("ASAuthorizationPublicKeyCredentialParameters", b"init"),
|
|
99
|
+
("ASAuthorizationPublicKeyCredentialParameters", b"new"),
|
|
100
|
+
):
|
|
101
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
102
|
+
|
|
103
|
+
del sys.modules["AuthenticationServices._metadata"]
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
globals().pop("_setup")()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Sat May 18 09:17:35 2024
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ else:
|
|
|
31
31
|
|
|
32
32
|
misc = {}
|
|
33
33
|
constants = """$ASAuthorizationAppleIDProviderCredentialRevokedNotification$ASAuthorizationCustomMethodOther$ASAuthorizationCustomMethodRestorePurchase$ASAuthorizationCustomMethodVideoSubscriberAccount$ASAuthorizationErrorDomain$ASAuthorizationOperationImplicit$ASAuthorizationOperationLogin$ASAuthorizationOperationLogout$ASAuthorizationOperationRefresh$ASAuthorizationProviderAuthorizationOperationConfigurationRemoved$ASAuthorizationProviderAuthorizationOperationDirectRequest$ASAuthorizationPublicKeyCredentialAttestationKindDirect$ASAuthorizationPublicKeyCredentialAttestationKindEnterprise$ASAuthorizationPublicKeyCredentialAttestationKindIndirect$ASAuthorizationPublicKeyCredentialAttestationKindNone$ASAuthorizationPublicKeyCredentialResidentKeyPreferenceDiscouraged$ASAuthorizationPublicKeyCredentialResidentKeyPreferencePreferred$ASAuthorizationPublicKeyCredentialResidentKeyPreferenceRequired$ASAuthorizationPublicKeyCredentialUserVerificationPreferenceDiscouraged$ASAuthorizationPublicKeyCredentialUserVerificationPreferencePreferred$ASAuthorizationPublicKeyCredentialUserVerificationPreferenceRequired$ASAuthorizationScopeEmail$ASAuthorizationScopeFullName$ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportBluetooth$ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportNFC$ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransportUSB$ASCredentialIdentityStoreErrorDomain$ASExtensionErrorDomain$ASExtensionLocalizedFailureReasonErrorKey$ASWebAuthenticationSessionErrorDomain$"""
|
|
34
|
-
enums = """$ASAuthorizationAppleIDButtonStyleBlack@2$ASAuthorizationAppleIDButtonStyleWhite@0$ASAuthorizationAppleIDButtonStyleWhiteOutline@1$ASAuthorizationAppleIDButtonTypeContinue@1$ASAuthorizationAppleIDButtonTypeDefault@0$ASAuthorizationAppleIDButtonTypeSignIn@0$ASAuthorizationAppleIDButtonTypeSignUp@2$ASAuthorizationAppleIDProviderCredentialAuthorized@1$ASAuthorizationAppleIDProviderCredentialNotFound@2$ASAuthorizationAppleIDProviderCredentialRevoked@0$ASAuthorizationAppleIDProviderCredentialTransferred@3$ASAuthorizationControllerRequestOptionPreferImmediatelyAvailableCredentials@1$ASAuthorizationErrorCanceled@1001$ASAuthorizationErrorFailed@1004$ASAuthorizationErrorInvalidResponse@1002$ASAuthorizationErrorNotHandled@1003$ASAuthorizationErrorNotInteractive@1005$ASAuthorizationErrorUnknown@1000$ASAuthorizationProviderExtensionAuthenticationMethodPassword@1$ASAuthorizationProviderExtensionAuthenticationMethodSmartCard@3$ASAuthorizationProviderExtensionAuthenticationMethodUserSecureEnclaveKey@2$ASAuthorizationProviderExtensionFederationTypeDynamicWSTrust@2$ASAuthorizationProviderExtensionFederationTypeNone@0$ASAuthorizationProviderExtensionFederationTypeWSTrust@1$ASAuthorizationProviderExtensionKeyTypeCurrentDeviceEncryption@11$ASAuthorizationProviderExtensionKeyTypeCurrentDeviceSigning@10$ASAuthorizationProviderExtensionKeyTypeSharedDeviceEncryption@5$ASAuthorizationProviderExtensionKeyTypeSharedDeviceSigning@4$ASAuthorizationProviderExtensionKeyTypeUserDeviceEncryption@2$ASAuthorizationProviderExtensionKeyTypeUserDeviceSigning@1$ASAuthorizationProviderExtensionKeyTypeUserSecureEnclaveKey@3$ASAuthorizationProviderExtensionKeyTypeUserSmartCard@20$ASAuthorizationProviderExtensionPlatformSSOProtocolVersion1_0@0$ASAuthorizationProviderExtensionPlatformSSOProtocolVersion2_0@1$ASAuthorizationProviderExtensionRegistrationResultFailed@1$ASAuthorizationProviderExtensionRegistrationResultFailedNoRetry@3$ASAuthorizationProviderExtensionRegistrationResultSuccess@0$ASAuthorizationProviderExtensionRegistrationResultUserInterfaceRequired@2$ASAuthorizationProviderExtensionRequestOptionsNone@0$ASAuthorizationProviderExtensionRequestOptionsRegistrationDeviceKeyMigration@8$ASAuthorizationProviderExtensionRequestOptionsRegistrationRepair@2$ASAuthorizationProviderExtensionRequestOptionsRegistrationSharedDeviceKeys@4$ASAuthorizationProviderExtensionRequestOptionsUserInteractionEnabled@1$ASAuthorizationProviderExtensionSupportedGrantTypesJWTBearer@2$ASAuthorizationProviderExtensionSupportedGrantTypesNone@0$ASAuthorizationProviderExtensionSupportedGrantTypesPassword@1$ASAuthorizationProviderExtensionSupportedGrantTypesSAML1_1@4$ASAuthorizationProviderExtensionSupportedGrantTypesSAML2_0@8$ASAuthorizationPublicKeyCredentialAttachmentCrossPlatform@1$ASAuthorizationPublicKeyCredentialAttachmentPlatform@0$ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperationRead@0$ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperationWrite@1$ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirementPreferred@1$ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirementRequired@0$ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateAuthorized@0$ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateDenied@1$ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateNotDetermined@2$ASCOSEAlgorithmIdentifierES256@-7$ASCOSEEllipticCurveIdentifierP256@1$ASCredentialIdentityStoreErrorCodeInternalError@0$ASCredentialIdentityStoreErrorCodeStoreBusy@2$ASCredentialIdentityStoreErrorCodeStoreDisabled@1$ASCredentialRequestTypePasskeyAssertion@1$ASCredentialRequestTypePassword@0$ASCredentialServiceIdentifierTypeDomain@0$ASCredentialServiceIdentifierTypeURL@1$ASExtensionErrorCodeCredentialIdentityNotFound@101$ASExtensionErrorCodeFailed@0$ASExtensionErrorCodeUserCanceled@1$ASExtensionErrorCodeUserInteractionRequired@100$ASPublicKeyCredentialClientDataCrossOriginValueCrossOrigin@1$ASPublicKeyCredentialClientDataCrossOriginValueNotSet@0$ASPublicKeyCredentialClientDataCrossOriginValueSameOriginWithAncestors@2$ASUserDetectionStatusLikelyReal@2$ASUserDetectionStatusUnknown@1$ASUserDetectionStatusUnsupported@0$ASWebAuthenticationSessionErrorCodeCanceledLogin@1$ASWebAuthenticationSessionErrorCodePresentationContextInvalid@3$ASWebAuthenticationSessionErrorCodePresentationContextNotProvided@2$"""
|
|
34
|
+
enums = """$ASAuthorizationAppleIDButtonStyleBlack@2$ASAuthorizationAppleIDButtonStyleWhite@0$ASAuthorizationAppleIDButtonStyleWhiteOutline@1$ASAuthorizationAppleIDButtonTypeContinue@1$ASAuthorizationAppleIDButtonTypeDefault@0$ASAuthorizationAppleIDButtonTypeSignIn@0$ASAuthorizationAppleIDButtonTypeSignUp@2$ASAuthorizationAppleIDProviderCredentialAuthorized@1$ASAuthorizationAppleIDProviderCredentialNotFound@2$ASAuthorizationAppleIDProviderCredentialRevoked@0$ASAuthorizationAppleIDProviderCredentialTransferred@3$ASAuthorizationControllerRequestOptionPreferImmediatelyAvailableCredentials@1$ASAuthorizationErrorCanceled@1001$ASAuthorizationErrorFailed@1004$ASAuthorizationErrorInvalidResponse@1002$ASAuthorizationErrorNotHandled@1003$ASAuthorizationErrorNotInteractive@1005$ASAuthorizationErrorUnknown@1000$ASAuthorizationProviderExtensionAuthenticationMethodPassword@1$ASAuthorizationProviderExtensionAuthenticationMethodSmartCard@3$ASAuthorizationProviderExtensionAuthenticationMethodUserSecureEnclaveKey@2$ASAuthorizationProviderExtensionFederationTypeDynamicWSTrust@2$ASAuthorizationProviderExtensionFederationTypeNone@0$ASAuthorizationProviderExtensionFederationTypeWSTrust@1$ASAuthorizationProviderExtensionKeyTypeCurrentDeviceEncryption@11$ASAuthorizationProviderExtensionKeyTypeCurrentDeviceSigning@10$ASAuthorizationProviderExtensionKeyTypeSharedDeviceEncryption@5$ASAuthorizationProviderExtensionKeyTypeSharedDeviceSigning@4$ASAuthorizationProviderExtensionKeyTypeUserDeviceEncryption@2$ASAuthorizationProviderExtensionKeyTypeUserDeviceSigning@1$ASAuthorizationProviderExtensionKeyTypeUserSecureEnclaveKey@3$ASAuthorizationProviderExtensionKeyTypeUserSmartCard@20$ASAuthorizationProviderExtensionPlatformSSOProtocolVersion1_0@0$ASAuthorizationProviderExtensionPlatformSSOProtocolVersion2_0@1$ASAuthorizationProviderExtensionRegistrationResultFailed@1$ASAuthorizationProviderExtensionRegistrationResultFailedNoRetry@3$ASAuthorizationProviderExtensionRegistrationResultSuccess@0$ASAuthorizationProviderExtensionRegistrationResultUserInterfaceRequired@2$ASAuthorizationProviderExtensionRequestOptionsNone@0$ASAuthorizationProviderExtensionRequestOptionsRegistrationDeviceKeyMigration@8$ASAuthorizationProviderExtensionRequestOptionsRegistrationRepair@2$ASAuthorizationProviderExtensionRequestOptionsRegistrationSharedDeviceKeys@4$ASAuthorizationProviderExtensionRequestOptionsUserInteractionEnabled@1$ASAuthorizationProviderExtensionRequestOptionsUserKeyInvalid@32$ASAuthorizationProviderExtensionSupportedGrantTypesJWTBearer@2$ASAuthorizationProviderExtensionSupportedGrantTypesNone@0$ASAuthorizationProviderExtensionSupportedGrantTypesPassword@1$ASAuthorizationProviderExtensionSupportedGrantTypesSAML1_1@4$ASAuthorizationProviderExtensionSupportedGrantTypesSAML2_0@8$ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyNone@0$ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyPasswordFallback@8$ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyReuseDuringUnlock@4$ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyTouchIDOrWatchAny@2$ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyTouchIDOrWatchCurrentSet@1$ASAuthorizationPublicKeyCredentialAttachmentCrossPlatform@1$ASAuthorizationPublicKeyCredentialAttachmentPlatform@0$ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperationRead@0$ASAuthorizationPublicKeyCredentialLargeBlobAssertionOperationWrite@1$ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirementPreferred@1$ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirementRequired@0$ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateAuthorized@0$ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateDenied@1$ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateNotDetermined@2$ASCOSEAlgorithmIdentifierES256@-7$ASCOSEEllipticCurveIdentifierP256@1$ASCredentialIdentityStoreErrorCodeInternalError@0$ASCredentialIdentityStoreErrorCodeStoreBusy@2$ASCredentialIdentityStoreErrorCodeStoreDisabled@1$ASCredentialIdentityTypesAll@0$ASCredentialIdentityTypesPasskey@2$ASCredentialIdentityTypesPassword@1$ASCredentialRequestTypePasskeyAssertion@1$ASCredentialRequestTypePassword@0$ASCredentialServiceIdentifierTypeDomain@0$ASCredentialServiceIdentifierTypeURL@1$ASExtensionErrorCodeCredentialIdentityNotFound@101$ASExtensionErrorCodeFailed@0$ASExtensionErrorCodeUserCanceled@1$ASExtensionErrorCodeUserInteractionRequired@100$ASPublicKeyCredentialClientDataCrossOriginValueCrossOrigin@1$ASPublicKeyCredentialClientDataCrossOriginValueNotSet@0$ASPublicKeyCredentialClientDataCrossOriginValueSameOriginWithAncestors@2$ASUserAgeRangeChild@1$ASUserAgeRangeNotChild@2$ASUserAgeRangeUnknown@0$ASUserDetectionStatusLikelyReal@2$ASUserDetectionStatusUnknown@1$ASUserDetectionStatusUnsupported@0$ASWebAuthenticationSessionErrorCodeCanceledLogin@1$ASWebAuthenticationSessionErrorCodePresentationContextInvalid@3$ASWebAuthenticationSessionErrorCodePresentationContextNotProvided@2$"""
|
|
35
35
|
misc.update(
|
|
36
36
|
{
|
|
37
37
|
"ASAuthorizationProviderExtensionAuthenticationMethod": NewType(
|
|
@@ -46,10 +46,12 @@ misc.update(
|
|
|
46
46
|
"ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement": NewType(
|
|
47
47
|
"ASAuthorizationPublicKeyCredentialLargeBlobSupportRequirement", int
|
|
48
48
|
),
|
|
49
|
+
"ASUserAgeRange": NewType("ASUserAgeRange", int),
|
|
49
50
|
"ASCredentialRequestType": NewType("ASCredentialRequestType", int),
|
|
50
51
|
"ASCredentialServiceIdentifierType": NewType(
|
|
51
52
|
"ASCredentialServiceIdentifierType", int
|
|
52
53
|
),
|
|
54
|
+
"ASCredentialIdentityTypes": NewType("ASCredentialIdentityTypes", int),
|
|
53
55
|
"ASCredentialIdentityStoreErrorCode": NewType(
|
|
54
56
|
"ASCredentialIdentityStoreErrorCode", int
|
|
55
57
|
),
|
|
@@ -86,6 +88,9 @@ misc.update(
|
|
|
86
88
|
"ASAuthorizationProviderExtensionRequestOptions": NewType(
|
|
87
89
|
"ASAuthorizationProviderExtensionRequestOptions", int
|
|
88
90
|
),
|
|
91
|
+
"ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy": NewType(
|
|
92
|
+
"ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy", int
|
|
93
|
+
),
|
|
89
94
|
"ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState": NewType(
|
|
90
95
|
"ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState", int
|
|
91
96
|
),
|
|
@@ -131,6 +136,7 @@ functions = {
|
|
|
131
136
|
"ASAuthorizationAllSupportedPublicKeyCredentialDescriptorTransports": (b"@",)
|
|
132
137
|
}
|
|
133
138
|
aliases = {
|
|
139
|
+
"AS_SWIFT_SENDABLE": "NS_SWIFT_SENDABLE",
|
|
134
140
|
"AS_API_AVAILABLE": "API_AVAILABLE",
|
|
135
141
|
"AS_HEADER_AUDIT_END": "NS_HEADER_AUDIT_END",
|
|
136
142
|
"ASAuthorizationAppleIDButtonTypeDefault": "ASAuthorizationAppleIDButtonTypeSignIn",
|
|
@@ -369,6 +375,11 @@ try:
|
|
|
369
375
|
b"isSupported",
|
|
370
376
|
{"retval": {"type": b"Z"}},
|
|
371
377
|
)
|
|
378
|
+
r(
|
|
379
|
+
b"ASAuthorizationSecurityKeyPublicKeyCredentialAssertion",
|
|
380
|
+
b"appID",
|
|
381
|
+
{"retval": {"type": b"Z"}},
|
|
382
|
+
)
|
|
372
383
|
r(
|
|
373
384
|
b"ASAuthorizationSingleSignOnProvider",
|
|
374
385
|
b"canPerformAuthorization",
|
|
@@ -412,6 +423,20 @@ try:
|
|
|
412
423
|
}
|
|
413
424
|
},
|
|
414
425
|
)
|
|
426
|
+
r(
|
|
427
|
+
b"ASCredentialIdentityStore",
|
|
428
|
+
b"getCredentialIdentitiesForService:credentialIdentityTypes:completionHandler:",
|
|
429
|
+
{
|
|
430
|
+
"arguments": {
|
|
431
|
+
4: {
|
|
432
|
+
"callable": {
|
|
433
|
+
"retval": {"type": b"v"},
|
|
434
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
)
|
|
415
440
|
r(
|
|
416
441
|
b"ASCredentialIdentityStore",
|
|
417
442
|
b"getCredentialIdentityStoreStateWithCompletion:",
|
|
@@ -643,6 +668,24 @@ try:
|
|
|
643
668
|
},
|
|
644
669
|
)
|
|
645
670
|
r(b"ASWebAuthenticationSession", b"canStart", {"retval": {"type": "Z"}})
|
|
671
|
+
r(
|
|
672
|
+
b"ASWebAuthenticationSession",
|
|
673
|
+
b"initWithURL:callback:completionHandler:",
|
|
674
|
+
{
|
|
675
|
+
"arguments": {
|
|
676
|
+
4: {
|
|
677
|
+
"callable": {
|
|
678
|
+
"retval": {"type": b"v"},
|
|
679
|
+
"arguments": {
|
|
680
|
+
0: {"type": b"^v"},
|
|
681
|
+
1: {"type": b"@"},
|
|
682
|
+
2: {"type": b"@"},
|
|
683
|
+
},
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
)
|
|
646
689
|
r(
|
|
647
690
|
b"ASWebAuthenticationSession",
|
|
648
691
|
b"initWithURL:callbackURLScheme:completionHandler:",
|
|
@@ -672,6 +715,7 @@ try:
|
|
|
672
715
|
{"arguments": {2: {"type": b"Z"}}},
|
|
673
716
|
)
|
|
674
717
|
r(b"ASWebAuthenticationSession", b"start", {"retval": {"type": b"Z"}})
|
|
718
|
+
r(b"ASWebAuthenticationSessionCallback", b"matchesURL:", {"retval": {"type": b"Z"}})
|
|
675
719
|
r(
|
|
676
720
|
b"ASWebAuthenticationSessionRequest",
|
|
677
721
|
b"shouldUseEphemeralSession",
|
|
@@ -823,6 +867,20 @@ try:
|
|
|
823
867
|
b"createCredentialAssertionRequestWithClientData:",
|
|
824
868
|
{"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
|
|
825
869
|
)
|
|
870
|
+
r(
|
|
871
|
+
b"NSObject",
|
|
872
|
+
b"createCredentialRegistrationRequestWithClientData:displayName:name:userID:",
|
|
873
|
+
{
|
|
874
|
+
"required": True,
|
|
875
|
+
"retval": {"type": b"@"},
|
|
876
|
+
"arguments": {
|
|
877
|
+
2: {"type": b"@"},
|
|
878
|
+
3: {"type": b"@"},
|
|
879
|
+
4: {"type": b"@"},
|
|
880
|
+
5: {"type": b"@"},
|
|
881
|
+
},
|
|
882
|
+
},
|
|
883
|
+
)
|
|
826
884
|
r(
|
|
827
885
|
b"NSObject",
|
|
828
886
|
b"createCredentialRegistrationRequestWithClientData:name:userID:",
|
|
@@ -968,6 +1026,105 @@ try:
|
|
|
968
1026
|
)
|
|
969
1027
|
finally:
|
|
970
1028
|
objc._updatingMetadata(False)
|
|
1029
|
+
|
|
1030
|
+
objc.registerNewKeywordsFromSelector(
|
|
1031
|
+
"ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest",
|
|
1032
|
+
b"initWithUser:serviceIdentifier:",
|
|
1033
|
+
)
|
|
1034
|
+
objc.registerNewKeywordsFromSelector(
|
|
1035
|
+
"ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest",
|
|
1036
|
+
b"initWithUser:serviceIdentifier:userInfo:",
|
|
1037
|
+
)
|
|
1038
|
+
objc.registerNewKeywordsFromSelector(
|
|
1039
|
+
"ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest",
|
|
1040
|
+
b"initWithUser:serviceIdentifier:",
|
|
1041
|
+
)
|
|
1042
|
+
objc.registerNewKeywordsFromSelector(
|
|
1043
|
+
"ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest",
|
|
1044
|
+
b"initWithUser:serviceIdentifier:userInfo:",
|
|
1045
|
+
)
|
|
1046
|
+
objc.registerNewKeywordsFromSelector(
|
|
1047
|
+
"ASAuthorizationAppleIDButton",
|
|
1048
|
+
b"initWithAuthorizationButtonType:authorizationButtonStyle:",
|
|
1049
|
+
)
|
|
1050
|
+
objc.registerNewKeywordsFromSelector(
|
|
1051
|
+
"ASAuthorizationController", b"initWithAuthorizationRequests:"
|
|
1052
|
+
)
|
|
1053
|
+
objc.registerNewKeywordsFromSelector(
|
|
1054
|
+
"ASAuthorizationPlatformPublicKeyCredentialDescriptor", b"initWithCredentialID:"
|
|
1055
|
+
)
|
|
1056
|
+
objc.registerNewKeywordsFromSelector(
|
|
1057
|
+
"ASAuthorizationPlatformPublicKeyCredentialProvider",
|
|
1058
|
+
b"initWithRelyingPartyIdentifier:",
|
|
1059
|
+
)
|
|
1060
|
+
objc.registerNewKeywordsFromSelector(
|
|
1061
|
+
"ASAuthorizationProviderExtensionAuthorizationResult",
|
|
1062
|
+
b"initWithHTTPAuthorizationHeaders:",
|
|
1063
|
+
)
|
|
1064
|
+
objc.registerNewKeywordsFromSelector(
|
|
1065
|
+
"ASAuthorizationProviderExtensionAuthorizationResult",
|
|
1066
|
+
b"initWithHTTPResponse:httpBody:",
|
|
1067
|
+
)
|
|
1068
|
+
objc.registerNewKeywordsFromSelector(
|
|
1069
|
+
"ASAuthorizationProviderExtensionLoginConfiguration",
|
|
1070
|
+
b"initWithClientID:issuer:tokenEndpointURL:jwksEndpointURL:audience:",
|
|
1071
|
+
)
|
|
1072
|
+
objc.registerNewKeywordsFromSelector(
|
|
1073
|
+
"ASAuthorizationProviderExtensionUserLoginConfiguration", b"initWithLoginUserName:"
|
|
1074
|
+
)
|
|
1075
|
+
objc.registerNewKeywordsFromSelector(
|
|
1076
|
+
"ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput", b"initWithOperation:"
|
|
1077
|
+
)
|
|
1078
|
+
objc.registerNewKeywordsFromSelector(
|
|
1079
|
+
"ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput",
|
|
1080
|
+
b"initWithSupportRequirement:",
|
|
1081
|
+
)
|
|
1082
|
+
objc.registerNewKeywordsFromSelector(
|
|
1083
|
+
"ASAuthorizationPublicKeyCredentialParameters", b"initWithAlgorithm:"
|
|
1084
|
+
)
|
|
1085
|
+
objc.registerNewKeywordsFromSelector(
|
|
1086
|
+
"ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor",
|
|
1087
|
+
b"initWithCredentialID:transports:",
|
|
1088
|
+
)
|
|
1089
|
+
objc.registerNewKeywordsFromSelector(
|
|
1090
|
+
"ASAuthorizationSecurityKeyPublicKeyCredentialProvider",
|
|
1091
|
+
b"initWithRelyingPartyIdentifier:",
|
|
1092
|
+
)
|
|
1093
|
+
objc.registerNewKeywordsFromSelector(
|
|
1094
|
+
"ASCredentialServiceIdentifier", b"initWithIdentifier:type:"
|
|
1095
|
+
)
|
|
1096
|
+
objc.registerNewKeywordsFromSelector(
|
|
1097
|
+
"ASPasskeyAssertionCredential",
|
|
1098
|
+
b"initWithUserHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID:",
|
|
1099
|
+
)
|
|
1100
|
+
objc.registerNewKeywordsFromSelector(
|
|
1101
|
+
"ASPasskeyCredentialIdentity",
|
|
1102
|
+
b"initWithRelyingPartyIdentifier:userName:credentialID:userHandle:recordIdentifier:",
|
|
1103
|
+
)
|
|
1104
|
+
objc.registerNewKeywordsFromSelector(
|
|
1105
|
+
"ASPasskeyCredentialRequest",
|
|
1106
|
+
b"initWithCredentialIdentity:clientDataHash:userVerificationPreference:supportedAlgorithms:",
|
|
1107
|
+
)
|
|
1108
|
+
objc.registerNewKeywordsFromSelector(
|
|
1109
|
+
"ASPasskeyRegistrationCredential",
|
|
1110
|
+
b"initWithRelyingParty:clientDataHash:credentialID:attestationObject:",
|
|
1111
|
+
)
|
|
1112
|
+
objc.registerNewKeywordsFromSelector("ASPasswordCredential", b"initWithUser:password:")
|
|
1113
|
+
objc.registerNewKeywordsFromSelector(
|
|
1114
|
+
"ASPasswordCredentialIdentity", b"initWithServiceIdentifier:user:recordIdentifier:"
|
|
1115
|
+
)
|
|
1116
|
+
objc.registerNewKeywordsFromSelector(
|
|
1117
|
+
"ASPasswordCredentialRequest", b"initWithCredentialIdentity:"
|
|
1118
|
+
)
|
|
1119
|
+
objc.registerNewKeywordsFromSelector(
|
|
1120
|
+
"ASPublicKeyCredentialClientData", b"initWithChallenge:origin:"
|
|
1121
|
+
)
|
|
1122
|
+
objc.registerNewKeywordsFromSelector(
|
|
1123
|
+
"ASWebAuthenticationSession", b"initWithURL:callback:completionHandler:"
|
|
1124
|
+
)
|
|
1125
|
+
objc.registerNewKeywordsFromSelector(
|
|
1126
|
+
"ASWebAuthenticationSession", b"initWithURL:callbackURLScheme:completionHandler:"
|
|
1127
|
+
)
|
|
971
1128
|
expressions = {}
|
|
972
1129
|
|
|
973
1130
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-AuthenticationServices
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.3
|
|
4
4
|
Summary: Wrappers for the framework AuthenticationServices on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
31
|
Requires-Python: >=3.8
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=10.
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=10.
|
|
33
|
+
Requires-Dist: pyobjc-core>=10.3
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.3
|
|
35
35
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
36
36
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
37
37
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -41,13 +41,16 @@ PyObjCTest/test_asauthorizationpublickeycredentiallargeblobassertionoutput.py
|
|
|
41
41
|
PyObjCTest/test_asauthorizationpublickeycredentiallargeblobregistrationoutput.py
|
|
42
42
|
PyObjCTest/test_asauthorizationpublickeycredentialregistration.py
|
|
43
43
|
PyObjCTest/test_asauthorizationpublickeycredentialregistrationrequest.py
|
|
44
|
+
PyObjCTest/test_asauthorizationsecuritykeypublickeycredentialassertion.py
|
|
44
45
|
PyObjCTest/test_asauthorizationsecuritykeypublickeycredentialdescriptor.py
|
|
45
46
|
PyObjCTest/test_asauthorizationsinglesignonprovider.py
|
|
46
47
|
PyObjCTest/test_asauthorizationsinglesignonrequest.py
|
|
47
48
|
PyObjCTest/test_asauthorizationwebbrowserplatformpublickeycredentialassertionrequest.py
|
|
48
49
|
PyObjCTest/test_asauthorizationwebbrowserplatformpublickeycredentialprovider.py
|
|
49
50
|
PyObjCTest/test_asauthorizationwebbrowserplatformpublickeycredentialregistrationrequest.py
|
|
51
|
+
PyObjCTest/test_asauthorizationwebbrowserpublickeycredentailregistrationrequest.py
|
|
50
52
|
PyObjCTest/test_asauthorizationwebbrowserpublickeycredentialmanager.py
|
|
53
|
+
PyObjCTest/test_asauthorizationwebbrowserpublickeycredentialprovider.py
|
|
51
54
|
PyObjCTest/test_ascoseconstants.py
|
|
52
55
|
PyObjCTest/test_ascredentialidentity.py
|
|
53
56
|
PyObjCTest/test_ascredentialidentitystore.py
|
|
@@ -60,6 +63,7 @@ PyObjCTest/test_aspublickeycredential.py
|
|
|
60
63
|
PyObjCTest/test_aspublickeycredentialclientdata.py
|
|
61
64
|
PyObjCTest/test_assettingshelper.py
|
|
62
65
|
PyObjCTest/test_aswebauthenticationsession.py
|
|
66
|
+
PyObjCTest/test_aswebauthenticationsessioncallback.py
|
|
63
67
|
PyObjCTest/test_aswebauthenticationsessionrequestdelegate.py
|
|
64
68
|
PyObjCTest/test_aswebauthenticationsessionwebbrowsersessionHandling.py
|
|
65
69
|
PyObjCTest/test_aswebauthenticationsessionwebbrowsersessionhandling.py
|
|
@@ -67,15 +71,11 @@ PyObjCTest/test_aswebauthenticationsessionwebbrowsersessionmanager.py
|
|
|
67
71
|
PyObjCTest/test_authenticationservices.py
|
|
68
72
|
metadata/AuthenticationServices.fwinfo
|
|
69
73
|
metadata/metadata.ini
|
|
70
|
-
metadata/raw/arm64-12.0.fwinfo
|
|
71
74
|
metadata/raw/arm64-12.3.fwinfo
|
|
72
|
-
metadata/raw/arm64-13.0.fwinfo
|
|
73
75
|
metadata/raw/arm64-13.3.fwinfo
|
|
74
|
-
metadata/raw/arm64-14.
|
|
76
|
+
metadata/raw/arm64-14.5.fwinfo
|
|
75
77
|
metadata/raw/x86_64-10.15.fwinfo
|
|
76
78
|
metadata/raw/x86_64-10.16.fwinfo
|
|
77
|
-
metadata/raw/x86_64-12.0.fwinfo
|
|
78
79
|
metadata/raw/x86_64-12.3.fwinfo
|
|
79
|
-
metadata/raw/x86_64-13.0.fwinfo
|
|
80
80
|
metadata/raw/x86_64-13.3.fwinfo
|
|
81
|
-
metadata/raw/x86_64-14.
|
|
81
|
+
metadata/raw/x86_64-14.5.fwinfo
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(This is the MIT license, note that libffi-src is a separate product with its own license)
|
|
2
2
|
|
|
3
3
|
Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
|
|
4
|
-
Copyright 2003-
|
|
4
|
+
Copyright 2003-2024 - Ronald Oussoren
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
7
|
|
|
@@ -37,4 +37,15 @@ static void __attribute__((__used__)) use_protocols(void)
|
|
|
37
37
|
p = PyObjC_IdToPython(@protocol(ASCredentialIdentity));
|
|
38
38
|
Py_XDECREF(p);
|
|
39
39
|
#endif
|
|
40
|
+
#if PyObjC_BUILD_RELEASE >= 1404
|
|
41
|
+
p = PyObjC_IdToPython(
|
|
42
|
+
@protocol(ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest));
|
|
43
|
+
Py_XDECREF(p);
|
|
44
|
+
p = PyObjC_IdToPython(
|
|
45
|
+
@protocol(ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider));
|
|
46
|
+
Py_XDECREF(p);
|
|
47
|
+
p = PyObjC_IdToPython(
|
|
48
|
+
@protocol(ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest));
|
|
49
|
+
Py_XDECREF(p);
|
|
50
|
+
#endif
|
|
40
51
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-AuthenticationServices
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.3
|
|
4
4
|
Summary: Wrappers for the framework AuthenticationServices on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
31
|
Requires-Python: >=3.8
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=10.
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=10.
|
|
33
|
+
Requires-Dist: pyobjc-core>=10.3
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.3
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
Wrappers for the "AuthenticationServices" framework on macOS.
|
|
@@ -3,10 +3,13 @@ from PyObjCTools.TestSupport import TestCase
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
class TestASAuthorizationAppleIDCredential(TestCase):
|
|
6
|
-
def test_enum_types(self):
|
|
7
|
-
self.assertIsEnumType(AuthenticationServices.ASUserDetectionStatus)
|
|
8
|
-
|
|
9
6
|
def test_constants(self):
|
|
7
|
+
self.assertIsEnumType(AuthenticationServices.ASUserDetectionStatus)
|
|
10
8
|
self.assertEqual(AuthenticationServices.ASUserDetectionStatusUnsupported, 0)
|
|
11
9
|
self.assertEqual(AuthenticationServices.ASUserDetectionStatusUnknown, 1)
|
|
12
10
|
self.assertEqual(AuthenticationServices.ASUserDetectionStatusLikelyReal, 2)
|
|
11
|
+
|
|
12
|
+
self.assertIsEnumType(AuthenticationServices.ASUserAgeRange)
|
|
13
|
+
self.assertEqual(AuthenticationServices.ASUserAgeRangeUnknown, 0)
|
|
14
|
+
self.assertEqual(AuthenticationServices.ASUserAgeRangeChild, 1)
|
|
15
|
+
self.assertEqual(AuthenticationServices.ASUserAgeRangeNotChild, 2)
|
|
@@ -19,6 +19,31 @@ class TestASAuthorizationProviderExtensionLoginConfiguration(TestCase):
|
|
|
19
19
|
2,
|
|
20
20
|
)
|
|
21
21
|
|
|
22
|
+
self.assertIsEnumType(
|
|
23
|
+
AuthenticationServices.ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicy
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
self.assertEqual(
|
|
27
|
+
AuthenticationServices.ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyNone,
|
|
28
|
+
0,
|
|
29
|
+
)
|
|
30
|
+
self.assertEqual(
|
|
31
|
+
AuthenticationServices.ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyTouchIDOrWatchCurrentSet,
|
|
32
|
+
1 << 0,
|
|
33
|
+
)
|
|
34
|
+
self.assertEqual(
|
|
35
|
+
AuthenticationServices.ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyTouchIDOrWatchAny,
|
|
36
|
+
1 << 1,
|
|
37
|
+
)
|
|
38
|
+
self.assertEqual(
|
|
39
|
+
AuthenticationServices.ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyReuseDuringUnlock,
|
|
40
|
+
1 << 2,
|
|
41
|
+
)
|
|
42
|
+
self.assertEqual(
|
|
43
|
+
AuthenticationServices.ASAuthorizationProviderExtensionUserSecureEnclaveKeyBiometricPolicyPasswordFallback,
|
|
44
|
+
1 << 3,
|
|
45
|
+
)
|
|
46
|
+
|
|
22
47
|
@min_os_level("13.0")
|
|
23
48
|
def test_methods13_0(self):
|
|
24
49
|
self.assertArgIsBlock(
|
|
@@ -51,6 +51,10 @@ class TestASAuthorizationProviderExtensionRegistrationHandler(TestCase):
|
|
|
51
51
|
AuthenticationServices.ASAuthorizationProviderExtensionRequestOptionsRegistrationDeviceKeyMigration,
|
|
52
52
|
1 << 3,
|
|
53
53
|
)
|
|
54
|
+
self.assertEqual(
|
|
55
|
+
AuthenticationServices.ASAuthorizationProviderExtensionRequestOptionsUserKeyInvalid,
|
|
56
|
+
1 << 5,
|
|
57
|
+
)
|
|
54
58
|
|
|
55
59
|
self.assertIsEnumType(
|
|
56
60
|
AuthenticationServices.ASAuthorizationProviderExtensionRegistrationResult
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import AuthenticationServices
|
|
2
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class TestASAuthorizationSecurityKeyPublicKeyCredentialAssertion(TestCase):
|
|
6
|
+
@min_os_level("14.5")
|
|
7
|
+
def test_methods14_5(self):
|
|
8
|
+
self.assertResultIsBOOL(
|
|
9
|
+
AuthenticationServices.ASAuthorizationSecurityKeyPublicKeyCredentialAssertion.appID
|
|
10
|
+
)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import AuthenticationServices # noqa: F401
|
|
2
|
+
from PyObjCTools.TestSupport import TestCase, min_sdk_level
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class TestASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest(
|
|
6
|
+
TestCase
|
|
7
|
+
):
|
|
8
|
+
@min_sdk_level("14.4")
|
|
9
|
+
def test_protocols(self):
|
|
10
|
+
self.assertProtocolExists(
|
|
11
|
+
"ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest"
|
|
12
|
+
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import AuthenticationServices
|
|
2
|
-
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
2
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level, min_sdk_level
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
class TestASAuthorizationWebBrowserPublicKeyCredentialManager(TestCase):
|
|
@@ -20,6 +20,12 @@ class TestASAuthorizationWebBrowserPublicKeyCredentialManager(TestCase):
|
|
|
20
20
|
2,
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
+
@min_sdk_level("14.4")
|
|
24
|
+
def test_protocols(self):
|
|
25
|
+
self.assertProtocolExists(
|
|
26
|
+
"ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest"
|
|
27
|
+
)
|
|
28
|
+
|
|
23
29
|
@min_os_level("13.3")
|
|
24
30
|
def test_methods13_3(self):
|
|
25
31
|
self.assertArgIsBlock(
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import AuthenticationServices # noqa: F401
|
|
2
|
+
from PyObjCTools.TestSupport import TestCase, min_sdk_level
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class TestASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider(TestCase):
|
|
6
|
+
@min_sdk_level("14.4")
|
|
7
|
+
def test_protocols(self):
|
|
8
|
+
self.assertProtocolExists(
|
|
9
|
+
"ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider"
|
|
10
|
+
)
|
|
@@ -15,6 +15,13 @@ class TestASCredentialIdentityStore(TestCase):
|
|
|
15
15
|
AuthenticationServices.ASCredentialIdentityStoreErrorCodeStoreBusy, 2
|
|
16
16
|
)
|
|
17
17
|
|
|
18
|
+
self.assertIsEnumType(AuthenticationServices.ASCredentialIdentityTypes)
|
|
19
|
+
self.assertEqual(AuthenticationServices.ASCredentialIdentityTypesAll, 0)
|
|
20
|
+
self.assertEqual(AuthenticationServices.ASCredentialIdentityTypesPassword, 1)
|
|
21
|
+
self.assertEqual(
|
|
22
|
+
AuthenticationServices.ASCredentialIdentityTypesPasskey, 1 << 1
|
|
23
|
+
)
|
|
24
|
+
|
|
18
25
|
@min_os_level("11.0")
|
|
19
26
|
def test_methods11_0(self):
|
|
20
27
|
self.assertArgIsBlock(
|
|
@@ -60,3 +67,11 @@ class TestASCredentialIdentityStore(TestCase):
|
|
|
60
67
|
1,
|
|
61
68
|
b"vZ@",
|
|
62
69
|
)
|
|
70
|
+
|
|
71
|
+
@min_os_level("14.4")
|
|
72
|
+
def test_methods14_4(self):
|
|
73
|
+
self.assertArgIsBlock(
|
|
74
|
+
AuthenticationServices.ASCredentialIdentityStore.getCredentialIdentitiesForService_credentialIdentityTypes_completionHandler_,
|
|
75
|
+
2,
|
|
76
|
+
b"v@",
|
|
77
|
+
)
|
|
@@ -45,3 +45,11 @@ class TestASWebAuthenticationSession(TestCase):
|
|
|
45
45
|
self.assertResultIsBOOL(
|
|
46
46
|
AuthenticationServices.ASWebAuthenticationSession.canStart
|
|
47
47
|
)
|
|
48
|
+
|
|
49
|
+
@min_os_level("14.4")
|
|
50
|
+
def test_methods14_4(self):
|
|
51
|
+
self.assertArgIsBlock(
|
|
52
|
+
AuthenticationServices.ASWebAuthenticationSession.initWithURL_callback_completionHandler_, # noqa: B950
|
|
53
|
+
2,
|
|
54
|
+
ASWebAuthenticationSessionCompletionHandler,
|
|
55
|
+
)
|
pyobjc_framework_authenticationservices-10.3/PyObjCTest/test_aswebauthenticationsessioncallback.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import AuthenticationServices
|
|
2
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class TestASWebAuthenticationSessionCallback(TestCase):
|
|
6
|
+
@min_os_level("14.4")
|
|
7
|
+
def test_methods14_4(self):
|
|
8
|
+
self.assertResultIsBOOL(
|
|
9
|
+
AuthenticationServices.ASWebAuthenticationSessionCallback.matchesURL_
|
|
10
|
+
)
|