Revert "Upgrade recaptcha"

This reverts commit b0f2d0220e.
This commit is contained in:
Isaac 2026-01-14 22:58:46 +04:00
parent 6c0f54a688
commit 9b68f361e4
41 changed files with 733 additions and 727 deletions

View file

@ -1809,7 +1809,7 @@ ios_application(
#"//third-party/boringssl:ssl", #"//third-party/boringssl:ssl",
#"//third-party/boringssl:crypto", #"//third-party/boringssl:crypto",
#"//submodules/TelegramVoip", #"//submodules/TelegramVoip",
#"//third-party/recaptcha:RecaptchaEnterpriseSDK", #"//third-party/recaptcha:RecaptchaEnterprise",
"//submodules/TelegramUI", "//submodules/TelegramUI",
], ],
) )

View file

@ -49,7 +49,7 @@ swift_library(
"-warnings-as-errors", "-warnings-as-errors",
], ],
deps = [ deps = [
"//third-party/recaptcha:RecaptchaEnterpriseSDK", "//third-party/recaptcha:RecaptchaEnterprise",
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit", "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
"//submodules/SSignalKit/SSignalKit:SSignalKit", "//submodules/SSignalKit/SSignalKit:SSignalKit",
"//submodules/AsyncDisplayKit:AsyncDisplayKit", "//submodules/AsyncDisplayKit:AsyncDisplayKit",

View file

@ -1,5 +1,5 @@
import UIKit import UIKit
@preconcurrency import SwiftSignalKit import SwiftSignalKit
import Display import Display
import TelegramCore import TelegramCore
import UserNotifications import UserNotifications
@ -41,7 +41,7 @@ import MediaEditor
import TelegramUIDeclareEncodables import TelegramUIDeclareEncodables
import ContextMenuScreen import ContextMenuScreen
import MetalEngine import MetalEngine
import RecaptchaEnterpriseSDK import RecaptchaEnterprise
import NavigationBarImpl import NavigationBarImpl
import ContextUI import ContextUI
import ContextControllerImpl import ContextControllerImpl

View file

@ -6,8 +6,8 @@ load(
) )
apple_static_xcframework_import( apple_static_xcframework_import(
name = "RecaptchaEnterpriseSDK", name = "RecaptchaEnterprise",
xcframework_imports = glob(["RecaptchaEnterpriseSDK.xcframework/**"]), xcframework_imports = glob(["RecaptchaEnterprise.xcframework/**"]),
features = [ features = [
], ],
visibility = [ visibility = [

View file

@ -8,7 +8,7 @@
<key>LibraryIdentifier</key> <key>LibraryIdentifier</key>
<string>ios-arm64</string> <string>ios-arm64</string>
<key>LibraryPath</key> <key>LibraryPath</key>
<string>RecaptchaEnterpriseSDK.framework</string> <string>RecaptchaEnterprise.framework</string>
<key>SupportedArchitectures</key> <key>SupportedArchitectures</key>
<array> <array>
<string>arm64</string> <string>arm64</string>
@ -20,7 +20,7 @@
<key>LibraryIdentifier</key> <key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string> <string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key> <key>LibraryPath</key>
<string>RecaptchaEnterpriseSDK.framework</string> <string>RecaptchaEnterprise.framework</string>
<key>SupportedArchitectures</key> <key>SupportedArchitectures</key>
<array> <array>
<string>arm64</string> <string>arm64</string>

View file

@ -0,0 +1,338 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>ios-arm64/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h</key>
<data>
4VDxU6SZ65gQBn3rUWCCNqxbb2Q=
</data>
<key>ios-arm64/RecaptchaEnterprise.framework/Info.plist</key>
<data>
lLz/4hKuGngSXx+1idP1Qd7K96Q=
</data>
<key>ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc</key>
<data>
EhXEo2CcyN6grvu7hRiGTj5N5/Q=
</data>
<key>ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface</key>
<data>
HKWaSFA8HkKEhv60fJePQ6MMw6A=
</data>
<key>ios-arm64/RecaptchaEnterprise.framework/Modules/module.modulemap</key>
<data>
e79+f2szYbQmmcycLjb4qvAm9ic=
</data>
<key>ios-arm64/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy</key>
<data>
d34/WdITFALLLJjkSHGiQSA6Z3Y=
</data>
<key>ios-arm64/RecaptchaEnterprise.framework/RecaptchaEnterprise</key>
<data>
Vl9+I/cFYuo5INyhscdU7ZKuJKM=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h</key>
<data>
4VDxU6SZ65gQBn3rUWCCNqxbb2Q=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Info.plist</key>
<data>
qvXMamMsVpa8+m+Nzwchfsvt/eE=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc</key>
<data>
U/f1XLQrWkvQeR+Px1/pRwRc/cc=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface</key>
<data>
spJ76Pm8/Wr3VMBn4v2XqjpgBVQ=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftdoc</key>
<data>
f96x+pLmntLoPnADpTqimN2ipfI=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftinterface</key>
<data>
s1JZ2QV5QeLTytibw4yKa97YXMg=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/module.modulemap</key>
<data>
e79+f2szYbQmmcycLjb4qvAm9ic=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy</key>
<data>
d34/WdITFALLLJjkSHGiQSA6Z3Y=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/RecaptchaEnterprise</key>
<data>
Bj5s+c75uv9OG+DFaJDzCJQdNR4=
</data>
</dict>
<key>files2</key>
<dict>
<key>ios-arm64/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h</key>
<dict>
<key>hash</key>
<data>
4VDxU6SZ65gQBn3rUWCCNqxbb2Q=
</data>
<key>hash2</key>
<data>
DVSRC0UZpbiuicyY3o0XyRn5J4W67BXA3EZoseXSJ+E=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterprise.framework/Info.plist</key>
<dict>
<key>hash</key>
<data>
lLz/4hKuGngSXx+1idP1Qd7K96Q=
</data>
<key>hash2</key>
<data>
69AqI/t+mFQl1WdbSZTMvyjw8Arr/BaO45RgklSi/OY=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc</key>
<dict>
<key>hash</key>
<data>
EhXEo2CcyN6grvu7hRiGTj5N5/Q=
</data>
<key>hash2</key>
<data>
FjQ9BxuUBuAipikhZdGTwdVPGVtsVSoqgo5laiu4cGk=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface</key>
<dict>
<key>hash</key>
<data>
HKWaSFA8HkKEhv60fJePQ6MMw6A=
</data>
<key>hash2</key>
<data>
01O3JDW+YCBhgBZ+F9hJi88lBiR0CKI8XKA7R9aJ5M4=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterprise.framework/Modules/module.modulemap</key>
<dict>
<key>hash</key>
<data>
e79+f2szYbQmmcycLjb4qvAm9ic=
</data>
<key>hash2</key>
<data>
PteZu5hZeSnScpxe2bKzAkh/J6tvZqHOPjJPPX9L3B0=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy</key>
<dict>
<key>hash</key>
<data>
d34/WdITFALLLJjkSHGiQSA6Z3Y=
</data>
<key>hash2</key>
<data>
9ogbL0FljSMHAXmM5vR4v1xZZKB2oE8aTODyTk0qUj8=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterprise.framework/RecaptchaEnterprise</key>
<dict>
<key>hash</key>
<data>
Vl9+I/cFYuo5INyhscdU7ZKuJKM=
</data>
<key>hash2</key>
<data>
vQn3SxzkE8c0pSwmCUM4R8oKZsHxVsafDddQf0HeFTo=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h</key>
<dict>
<key>hash</key>
<data>
4VDxU6SZ65gQBn3rUWCCNqxbb2Q=
</data>
<key>hash2</key>
<data>
DVSRC0UZpbiuicyY3o0XyRn5J4W67BXA3EZoseXSJ+E=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Info.plist</key>
<dict>
<key>hash</key>
<data>
qvXMamMsVpa8+m+Nzwchfsvt/eE=
</data>
<key>hash2</key>
<data>
jnZiaN642xbrWF2l7fQF33YSTgePAQACl0FbRUmayMI=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc</key>
<dict>
<key>hash</key>
<data>
U/f1XLQrWkvQeR+Px1/pRwRc/cc=
</data>
<key>hash2</key>
<data>
tuY9mB+LTHtCEGJRwTeUGym5ANc4iiGERy3vedGcZqo=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface</key>
<dict>
<key>hash</key>
<data>
spJ76Pm8/Wr3VMBn4v2XqjpgBVQ=
</data>
<key>hash2</key>
<data>
vlFk7bczYlw+XSHD42G8VkhH755HVehFT7fD1snaME4=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftdoc</key>
<dict>
<key>hash</key>
<data>
f96x+pLmntLoPnADpTqimN2ipfI=
</data>
<key>hash2</key>
<data>
zHc1oXV0xksHw1i1q0HYnVIF0FJ3244NSbUty6NT3g8=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftinterface</key>
<dict>
<key>hash</key>
<data>
s1JZ2QV5QeLTytibw4yKa97YXMg=
</data>
<key>hash2</key>
<data>
5enubvBpufjdyyeqCZwbNZnVGNchHIwyNhUx56fzXto=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/module.modulemap</key>
<dict>
<key>hash</key>
<data>
e79+f2szYbQmmcycLjb4qvAm9ic=
</data>
<key>hash2</key>
<data>
PteZu5hZeSnScpxe2bKzAkh/J6tvZqHOPjJPPX9L3B0=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy</key>
<dict>
<key>hash</key>
<data>
d34/WdITFALLLJjkSHGiQSA6Z3Y=
</data>
<key>hash2</key>
<data>
9ogbL0FljSMHAXmM5vR4v1xZZKB2oE8aTODyTk0qUj8=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/RecaptchaEnterprise</key>
<dict>
<key>hash</key>
<data>
Bj5s+c75uv9OG+DFaJDzCJQdNR4=
</data>
<key>hash2</key>
<data>
dwEBfc7UHwM0emsKXMYVXM6SRC1m7w/jOCVveRoW9jY=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>

View file

@ -1,6 +1,6 @@
// Generated by Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) // Generated by Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
#ifndef RECAPTCHAENTERPRISESDK_SWIFT_H #ifndef RECAPTCHAENTERPRISE_SWIFT_H
#define RECAPTCHAENTERPRISESDK_SWIFT_H #define RECAPTCHAENTERPRISE_SWIFT_H
#pragma clang diagnostic push #pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat" #pragma clang diagnostic ignored "-Wgcc-compat"
@ -40,8 +40,6 @@
#include <string.h> #include <string.h>
#endif #endif
#if defined(__cplusplus) #if defined(__cplusplus)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
#if defined(__arm64e__) && __has_include(<ptrauth.h>) #if defined(__arm64e__) && __has_include(<ptrauth.h>)
# include <ptrauth.h> # include <ptrauth.h>
#else #else
@ -55,7 +53,6 @@
# endif # endif
#pragma clang diagnostic pop #pragma clang diagnostic pop
#endif #endif
#pragma clang diagnostic pop
#endif #endif
#if !defined(SWIFT_TYPEDEFS) #if !defined(SWIFT_TYPEDEFS)
@ -63,7 +60,6 @@
# if __has_include(<uchar.h>) # if __has_include(<uchar.h>)
# include <uchar.h> # include <uchar.h>
# elif !defined(__cplusplus) # elif !defined(__cplusplus)
typedef unsigned char char8_t;
typedef uint_least16_t char16_t; typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t; typedef uint_least32_t char32_t;
# endif # endif
@ -284,14 +280,12 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
// Rewritten: @import ObjectiveC; // Rewritten: @import ObjectiveC;
// From module ObjectiveC // From module ObjectiveC
// From module ObjectiveC.NSObjCRuntime
#import <objc/NSObjCRuntime.h>
// From module ObjectiveC.NSObject // From module ObjectiveC.NSObject
#import <objc/NSObject.h> #import <objc/NSObject.h>
// From module ObjectiveC.message // From module ObjectiveC.message
#import <objc/message.h> #import <objc/message.h>
// From module ObjectiveC.objc // From module ObjectiveC.NSObjCRuntime
#import <objc/objc.h> #import <objc/NSObjCRuntime.h>
// From module ObjectiveC.objc_api // From module ObjectiveC.objc_api
#import <objc/objc-api.h> #import <objc/objc-api.h>
// From module ObjectiveC.objc_auto // From module ObjectiveC.objc_auto
@ -300,6 +294,8 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#import <objc/objc-exception.h> #import <objc/objc-exception.h>
// From module ObjectiveC.objc_sync // From module ObjectiveC.objc_sync
#import <objc/objc-sync.h> #import <objc/objc-sync.h>
// From module ObjectiveC.objc
#import <objc/objc.h>
// From module ObjectiveC.runtime // From module ObjectiveC.runtime
#import <objc/runtime.h> #import <objc/runtime.h>
#endif #endif
@ -313,22 +309,23 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability" #pragma clang diagnostic ignored "-Wnullability"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
#if __has_attribute(external_source_symbol) #if __has_attribute(external_source_symbol)
# pragma push_macro("any") # pragma push_macro("any")
# undef any # undef any
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="RecaptchaEnterpriseSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="RecaptchaEnterprise",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
# pragma pop_macro("any") # pragma pop_macro("any")
#endif #endif
#if defined(__OBJC__) #if defined(__OBJC__)
@class NSString; @class NSString;
@class RecaptchaClient; @class RecaptchaClient;
@class NSError; @class NSError;
/// Interface to interact with reCAPTCHA. /// Interface to interact with reCAPTCHA.
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK9Recaptcha") SWIFT_CLASS("_TtC19RecaptchaEnterprise9Recaptcha")
@interface Recaptcha : NSObject @interface Recaptcha : NSObject
/// Builds a new reCAPTCHA Client for the given Site Key. /// Builds a new reCAPTCHA Client for the given Site Key.
/// The SDK accepts one Site Key. Passing a different Site Key will throw an exception. /// The SDK accepts one Site Key. Passing a different Site Key will throw an exception.
@ -371,9 +368,10 @@ SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK9Recaptcha")
@end @end
enum RecaptchaActionType : NSInteger; enum RecaptchaActionType : NSInteger;
/// Action intended to be protected by reCAPTCHA. This object should be passed /// Action intended to be protected by reCAPTCHA. This object should be passed
/// to RecaptchaClient.execute. /// to RecaptchaClient.execute.
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaAction") SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaAction")
@interface RecaptchaAction : NSObject @interface RecaptchaAction : NSObject
/// Creates an object with a predefined reCAPTCHA action. /// Creates an object with a predefined reCAPTCHA action.
/// \param action The type of the action. /// \param action The type of the action.
@ -382,10 +380,10 @@ SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaAction")
/// returns: /// returns:
/// A RecaptchaAction object with the given action type. /// A RecaptchaAction object with the given action type.
- (nonnull instancetype)initWithAction:(enum RecaptchaActionType)action OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Please use customAction with the regular RecaptchaAction.custom() function"); - (nonnull instancetype)initWithAction:(enum RecaptchaActionType)action OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Please use customAction with the regular RecaptchaAction.custom() function");
/// Indicates that the protected action is a Login lwPz0qSe. /// Indicates that the protected action is a Login workflow.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull login;) SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull login;)
+ (RecaptchaAction * _Nonnull)login SWIFT_WARN_UNUSED_RESULT; + (RecaptchaAction * _Nonnull)login SWIFT_WARN_UNUSED_RESULT;
/// Indicates that the protected action is a Signup lwPz0qSe. /// Indicates that the protected action is a Signup workflow.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull signup;) SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull signup;)
+ (RecaptchaAction * _Nonnull)signup SWIFT_WARN_UNUSED_RESULT; + (RecaptchaAction * _Nonnull)signup SWIFT_WARN_UNUSED_RESULT;
/// Creates a custom action from a String. /// Creates a custom action from a String.
@ -396,9 +394,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAct
/// Action type intended to be protected by reCAPTCHA. /// Action type intended to be protected by reCAPTCHA.
typedef SWIFT_ENUM(NSInteger, RecaptchaActionType, open) { typedef SWIFT_ENUM(NSInteger, RecaptchaActionType, open) {
/// Indicates that the protected action is a Login lwPz0qSe. /// Indicates that the protected action is a Login workflow.
RecaptchaActionTypeLogin = 0, RecaptchaActionTypeLogin = 0,
/// Indicates that the protected action is a Signup lwPz0qSe. /// Indicates that the protected action is a Signup workflow.
RecaptchaActionTypeSignup = 1, RecaptchaActionTypeSignup = 1,
/// When a custom action is specified, reCAPTCHA uses this value automatically. /// When a custom action is specified, reCAPTCHA uses this value automatically.
RecaptchaActionTypeOther = 2, RecaptchaActionTypeOther = 2,
@ -406,8 +404,9 @@ typedef SWIFT_ENUM(NSInteger, RecaptchaActionType, open) {
@class RecaptchaToken; @class RecaptchaToken;
@class RecaptchaError; @class RecaptchaError;
/// Interface to interact with reCAPTCHA. /// Interface to interact with reCAPTCHA.
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaClient") SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaClient")
@interface RecaptchaClient : NSObject @interface RecaptchaClient : NSObject
/// Executes reCAPTCHA on a user action. /// Executes reCAPTCHA on a user action.
/// It is suggested the usage of 10 seconds for the timeout. The minimum value /// It is suggested the usage of 10 seconds for the timeout. The minimum value
@ -444,7 +443,8 @@ SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaClient")
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end @end
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK17RecaptchaConstant")
SWIFT_CLASS("_TtC19RecaptchaEnterprise17RecaptchaConstant")
@interface RecaptchaConstant : NSObject @interface RecaptchaConstant : NSObject
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull clientVersion;) SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull clientVersion;)
+ (NSString * _Nonnull)clientVersion SWIFT_WARN_UNUSED_RESULT; + (NSString * _Nonnull)clientVersion SWIFT_WARN_UNUSED_RESULT;
@ -457,8 +457,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) double defaultTimeou
enum RecaptchaErrorCode : NSInteger; enum RecaptchaErrorCode : NSInteger;
@class NSCoder; @class NSCoder;
/// Error class for reCAPTCHA Events. /// Error class for reCAPTCHA Events.
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK14RecaptchaError") SWIFT_CLASS("_TtC19RecaptchaEnterprise14RecaptchaError")
@interface RecaptchaError : NSError @interface RecaptchaError : NSError
/// Code relative to the error that was thrown. It maps to <code>RecaptchaErrorCode</code>. /// Code relative to the error that was thrown. It maps to <code>RecaptchaErrorCode</code>.
@property (nonatomic, readonly) enum RecaptchaErrorCode errorCode; @property (nonatomic, readonly) enum RecaptchaErrorCode errorCode;
@ -473,7 +474,7 @@ SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK14RecaptchaError")
/// IMPORTANT: This list is add-only. Never change any existing value, since this class is /// IMPORTANT: This list is add-only. Never change any existing value, since this class is
/// publicly visible and customers rely on these values to do error checking. /// publicly visible and customers rely on these values to do error checking.
typedef SWIFT_ENUM(NSInteger, RecaptchaErrorCode, open) { typedef SWIFT_ENUM(NSInteger, RecaptchaErrorCode, open) {
/// Unknown error occurred during the lwPz0qSe. /// Unknown error occurred during the workflow.
RecaptchaErrorCodeErrorCodeUnknown = 0, RecaptchaErrorCodeErrorCodeUnknown = 0,
/// reCAPTCHA cannot connect to Google servers, please make sure the app has network access. /// reCAPTCHA cannot connect to Google servers, please make sure the app has network access.
RecaptchaErrorCodeErrorNetworkError = 1, RecaptchaErrorCodeErrorNetworkError = 1,
@ -498,17 +499,20 @@ typedef SWIFT_ENUM(NSInteger, RecaptchaErrorCode, open) {
RecaptchaErrorCodeErrorCodeInternalError = 100, RecaptchaErrorCodeErrorCodeInternalError = 100,
}; };
/// Swift implementation for RecaptchaTokenSwift that holds the response of a successful /// Swift implementation for RecaptchaTokenSwift that holds the response of a successful
/// execute call. /// execute call.
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK14RecaptchaToken") SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string.") SWIFT_CLASS("_TtC19RecaptchaEnterprise14RecaptchaToken") SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string.")
@interface RecaptchaToken : NSObject @interface RecaptchaToken : NSObject
/// The Token to be used for verification. /// The Token to be used for verification.
@property (nonatomic, readonly, copy) NSString * _Nonnull recaptchaToken; @property (nonatomic, readonly, copy) NSString * _Nonnull recaptchaToken;
- (nonnull instancetype)init:(NSString * _Nonnull)mobiletecqlyzr OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string."); - (nonnull instancetype)init:(NSString * _Nonnull)mobilemivdvtyi OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string.");
- (nonnull instancetype)init SWIFT_UNAVAILABLE; - (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end @end
#endif #endif
#if __has_attribute(external_source_symbol) #if __has_attribute(external_source_symbol)
# pragma clang attribute pop # pragma clang attribute pop

View file

@ -0,0 +1,107 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterprise -package-name googlemac/iPhone/recaptcha/enterprise
import CryptoKit
import DeviceCheck
import Foundation
import Network
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
import _SwiftConcurrencyShims
@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject {
@objc public static let clientVersion: Swift.String
@objc public static let defaultTimeoutExecute: Swift.Double
@objc public static let defaultTimeoutInit: Swift.Double
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject {
@objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
#if compiler(>=5.3) && $AsyncAwait
@available(iOS 13.0, *)
public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterprise.RecaptchaClient
#endif
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@objc deinit
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
@objc public enum RecaptchaActionType : Swift.Int {
case login
case signup
case other
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaAction : ObjectiveC.NSObject {
convenience public init(customAction: Swift.String)
@available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function")
@objc public init(action: RecaptchaEnterprise.RecaptchaActionType)
@objc public static let login: RecaptchaEnterprise.RecaptchaAction
@objc public static let signup: RecaptchaEnterprise.RecaptchaAction
@objc public static func custom(_ action: Swift.String) -> RecaptchaEnterprise.RecaptchaAction
@objc deinit
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaClient : ObjectiveC.NSObject {
@objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void)
#if compiler(>=5.3) && $AsyncAwait
@available(iOS 13.0, *)
public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String
#endif
@objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void)
@objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.")
@objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaToken?, RecaptchaEnterprise.RecaptchaError?) -> Swift.Void)
@objc deinit
}
@objc public enum RecaptchaErrorCode : Swift.Int {
case errorCodeUnknown = 0
case errorNetworkError = 1
case errorInvalidSiteKey = 2
case erroInvalidKeyType = 3
case errorInvalidPackageName = 4
case errorInvalidAction = 5
case errorInvalidTimeout = 6
case errorNoNetwork = 7
case errorCodeInternalError = 100
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError {
@objc public var errorCode: RecaptchaEnterprise.RecaptchaErrorCode {
@objc get
}
@objc public var errorMessage: Swift.String {
@objc get
}
@objc deinit
}
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public class RecaptchaToken : ObjectiveC.NSObject {
@objc final public let recaptchaToken: Swift.String
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public init(_ mobilemivdvtyi: Swift.String)
@objc deinit
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterprise.RecaptchaActionType : Swift.Equatable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterprise.RecaptchaActionType : Swift.Hashable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterprise.RecaptchaActionType : Swift.RawRepresentable {}
extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Equatable {}
extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Hashable {}
extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.RawRepresentable {}

View file

@ -0,0 +1,4 @@
framework module RecaptchaEnterprise {
header "RecaptchaEnterprise.h"
requires objc
}

View file

@ -1,6 +1,6 @@
// Generated by Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) // Generated by Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
#ifndef RECAPTCHAENTERPRISESDK_SWIFT_H #ifndef RECAPTCHAENTERPRISE_SWIFT_H
#define RECAPTCHAENTERPRISESDK_SWIFT_H #define RECAPTCHAENTERPRISE_SWIFT_H
#pragma clang diagnostic push #pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat" #pragma clang diagnostic ignored "-Wgcc-compat"
@ -40,8 +40,6 @@
#include <string.h> #include <string.h>
#endif #endif
#if defined(__cplusplus) #if defined(__cplusplus)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
#if defined(__arm64e__) && __has_include(<ptrauth.h>) #if defined(__arm64e__) && __has_include(<ptrauth.h>)
# include <ptrauth.h> # include <ptrauth.h>
#else #else
@ -55,7 +53,6 @@
# endif # endif
#pragma clang diagnostic pop #pragma clang diagnostic pop
#endif #endif
#pragma clang diagnostic pop
#endif #endif
#if !defined(SWIFT_TYPEDEFS) #if !defined(SWIFT_TYPEDEFS)
@ -63,7 +60,6 @@
# if __has_include(<uchar.h>) # if __has_include(<uchar.h>)
# include <uchar.h> # include <uchar.h>
# elif !defined(__cplusplus) # elif !defined(__cplusplus)
typedef unsigned char char8_t;
typedef uint_least16_t char16_t; typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t; typedef uint_least32_t char32_t;
# endif # endif
@ -284,14 +280,12 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
// Rewritten: @import ObjectiveC; // Rewritten: @import ObjectiveC;
// From module ObjectiveC // From module ObjectiveC
// From module ObjectiveC.NSObjCRuntime
#import <objc/NSObjCRuntime.h>
// From module ObjectiveC.NSObject // From module ObjectiveC.NSObject
#import <objc/NSObject.h> #import <objc/NSObject.h>
// From module ObjectiveC.message // From module ObjectiveC.message
#import <objc/message.h> #import <objc/message.h>
// From module ObjectiveC.objc // From module ObjectiveC.NSObjCRuntime
#import <objc/objc.h> #import <objc/NSObjCRuntime.h>
// From module ObjectiveC.objc_api // From module ObjectiveC.objc_api
#import <objc/objc-api.h> #import <objc/objc-api.h>
// From module ObjectiveC.objc_auto // From module ObjectiveC.objc_auto
@ -300,6 +294,8 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#import <objc/objc-exception.h> #import <objc/objc-exception.h>
// From module ObjectiveC.objc_sync // From module ObjectiveC.objc_sync
#import <objc/objc-sync.h> #import <objc/objc-sync.h>
// From module ObjectiveC.objc
#import <objc/objc.h>
// From module ObjectiveC.runtime // From module ObjectiveC.runtime
#import <objc/runtime.h> #import <objc/runtime.h>
#endif #endif
@ -313,22 +309,23 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability" #pragma clang diagnostic ignored "-Wnullability"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
#if __has_attribute(external_source_symbol) #if __has_attribute(external_source_symbol)
# pragma push_macro("any") # pragma push_macro("any")
# undef any # undef any
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="RecaptchaEnterpriseSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="RecaptchaEnterprise",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
# pragma pop_macro("any") # pragma pop_macro("any")
#endif #endif
#if defined(__OBJC__) #if defined(__OBJC__)
@class NSString; @class NSString;
@class RecaptchaClient; @class RecaptchaClient;
@class NSError; @class NSError;
/// Interface to interact with reCAPTCHA. /// Interface to interact with reCAPTCHA.
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK9Recaptcha") SWIFT_CLASS("_TtC19RecaptchaEnterprise9Recaptcha")
@interface Recaptcha : NSObject @interface Recaptcha : NSObject
/// Builds a new reCAPTCHA Client for the given Site Key. /// Builds a new reCAPTCHA Client for the given Site Key.
/// The SDK accepts one Site Key. Passing a different Site Key will throw an exception. /// The SDK accepts one Site Key. Passing a different Site Key will throw an exception.
@ -371,9 +368,10 @@ SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK9Recaptcha")
@end @end
enum RecaptchaActionType : NSInteger; enum RecaptchaActionType : NSInteger;
/// Action intended to be protected by reCAPTCHA. This object should be passed /// Action intended to be protected by reCAPTCHA. This object should be passed
/// to RecaptchaClient.execute. /// to RecaptchaClient.execute.
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaAction") SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaAction")
@interface RecaptchaAction : NSObject @interface RecaptchaAction : NSObject
/// Creates an object with a predefined reCAPTCHA action. /// Creates an object with a predefined reCAPTCHA action.
/// \param action The type of the action. /// \param action The type of the action.
@ -382,10 +380,10 @@ SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaAction")
/// returns: /// returns:
/// A RecaptchaAction object with the given action type. /// A RecaptchaAction object with the given action type.
- (nonnull instancetype)initWithAction:(enum RecaptchaActionType)action OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Please use customAction with the regular RecaptchaAction.custom() function"); - (nonnull instancetype)initWithAction:(enum RecaptchaActionType)action OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Please use customAction with the regular RecaptchaAction.custom() function");
/// Indicates that the protected action is a Login lwPz0qSe. /// Indicates that the protected action is a Login workflow.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull login;) SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull login;)
+ (RecaptchaAction * _Nonnull)login SWIFT_WARN_UNUSED_RESULT; + (RecaptchaAction * _Nonnull)login SWIFT_WARN_UNUSED_RESULT;
/// Indicates that the protected action is a Signup lwPz0qSe. /// Indicates that the protected action is a Signup workflow.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull signup;) SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull signup;)
+ (RecaptchaAction * _Nonnull)signup SWIFT_WARN_UNUSED_RESULT; + (RecaptchaAction * _Nonnull)signup SWIFT_WARN_UNUSED_RESULT;
/// Creates a custom action from a String. /// Creates a custom action from a String.
@ -396,9 +394,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAct
/// Action type intended to be protected by reCAPTCHA. /// Action type intended to be protected by reCAPTCHA.
typedef SWIFT_ENUM(NSInteger, RecaptchaActionType, open) { typedef SWIFT_ENUM(NSInteger, RecaptchaActionType, open) {
/// Indicates that the protected action is a Login lwPz0qSe. /// Indicates that the protected action is a Login workflow.
RecaptchaActionTypeLogin = 0, RecaptchaActionTypeLogin = 0,
/// Indicates that the protected action is a Signup lwPz0qSe. /// Indicates that the protected action is a Signup workflow.
RecaptchaActionTypeSignup = 1, RecaptchaActionTypeSignup = 1,
/// When a custom action is specified, reCAPTCHA uses this value automatically. /// When a custom action is specified, reCAPTCHA uses this value automatically.
RecaptchaActionTypeOther = 2, RecaptchaActionTypeOther = 2,
@ -406,8 +404,9 @@ typedef SWIFT_ENUM(NSInteger, RecaptchaActionType, open) {
@class RecaptchaToken; @class RecaptchaToken;
@class RecaptchaError; @class RecaptchaError;
/// Interface to interact with reCAPTCHA. /// Interface to interact with reCAPTCHA.
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaClient") SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaClient")
@interface RecaptchaClient : NSObject @interface RecaptchaClient : NSObject
/// Executes reCAPTCHA on a user action. /// Executes reCAPTCHA on a user action.
/// It is suggested the usage of 10 seconds for the timeout. The minimum value /// It is suggested the usage of 10 seconds for the timeout. The minimum value
@ -444,7 +443,8 @@ SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaClient")
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end @end
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK17RecaptchaConstant")
SWIFT_CLASS("_TtC19RecaptchaEnterprise17RecaptchaConstant")
@interface RecaptchaConstant : NSObject @interface RecaptchaConstant : NSObject
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull clientVersion;) SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull clientVersion;)
+ (NSString * _Nonnull)clientVersion SWIFT_WARN_UNUSED_RESULT; + (NSString * _Nonnull)clientVersion SWIFT_WARN_UNUSED_RESULT;
@ -457,8 +457,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) double defaultTimeou
enum RecaptchaErrorCode : NSInteger; enum RecaptchaErrorCode : NSInteger;
@class NSCoder; @class NSCoder;
/// Error class for reCAPTCHA Events. /// Error class for reCAPTCHA Events.
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK14RecaptchaError") SWIFT_CLASS("_TtC19RecaptchaEnterprise14RecaptchaError")
@interface RecaptchaError : NSError @interface RecaptchaError : NSError
/// Code relative to the error that was thrown. It maps to <code>RecaptchaErrorCode</code>. /// Code relative to the error that was thrown. It maps to <code>RecaptchaErrorCode</code>.
@property (nonatomic, readonly) enum RecaptchaErrorCode errorCode; @property (nonatomic, readonly) enum RecaptchaErrorCode errorCode;
@ -473,7 +474,7 @@ SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK14RecaptchaError")
/// IMPORTANT: This list is add-only. Never change any existing value, since this class is /// IMPORTANT: This list is add-only. Never change any existing value, since this class is
/// publicly visible and customers rely on these values to do error checking. /// publicly visible and customers rely on these values to do error checking.
typedef SWIFT_ENUM(NSInteger, RecaptchaErrorCode, open) { typedef SWIFT_ENUM(NSInteger, RecaptchaErrorCode, open) {
/// Unknown error occurred during the lwPz0qSe. /// Unknown error occurred during the workflow.
RecaptchaErrorCodeErrorCodeUnknown = 0, RecaptchaErrorCodeErrorCodeUnknown = 0,
/// reCAPTCHA cannot connect to Google servers, please make sure the app has network access. /// reCAPTCHA cannot connect to Google servers, please make sure the app has network access.
RecaptchaErrorCodeErrorNetworkError = 1, RecaptchaErrorCodeErrorNetworkError = 1,
@ -498,17 +499,20 @@ typedef SWIFT_ENUM(NSInteger, RecaptchaErrorCode, open) {
RecaptchaErrorCodeErrorCodeInternalError = 100, RecaptchaErrorCodeErrorCodeInternalError = 100,
}; };
/// Swift implementation for RecaptchaTokenSwift that holds the response of a successful /// Swift implementation for RecaptchaTokenSwift that holds the response of a successful
/// execute call. /// execute call.
SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK14RecaptchaToken") SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string.") SWIFT_CLASS("_TtC19RecaptchaEnterprise14RecaptchaToken") SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string.")
@interface RecaptchaToken : NSObject @interface RecaptchaToken : NSObject
/// The Token to be used for verification. /// The Token to be used for verification.
@property (nonatomic, readonly, copy) NSString * _Nonnull recaptchaToken; @property (nonatomic, readonly, copy) NSString * _Nonnull recaptchaToken;
- (nonnull instancetype)init:(NSString * _Nonnull)mobiletecqlyzr OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string."); - (nonnull instancetype)init:(NSString * _Nonnull)mobilemivdvtyi OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string.");
- (nonnull instancetype)init SWIFT_UNAVAILABLE; - (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end @end
#endif #endif
#if __has_attribute(external_source_symbol) #if __has_attribute(external_source_symbol)
# pragma clang attribute pop # pragma clang attribute pop

View file

@ -0,0 +1,107 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
// swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterprise -package-name googlemac/iPhone/recaptcha/enterprise
import CryptoKit
import DeviceCheck
import Foundation
import Network
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
import _SwiftConcurrencyShims
@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject {
@objc public static let clientVersion: Swift.String
@objc public static let defaultTimeoutExecute: Swift.Double
@objc public static let defaultTimeoutInit: Swift.Double
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject {
@objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
#if compiler(>=5.3) && $AsyncAwait
@available(iOS 13.0, *)
public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterprise.RecaptchaClient
#endif
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@objc deinit
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
@objc public enum RecaptchaActionType : Swift.Int {
case login
case signup
case other
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaAction : ObjectiveC.NSObject {
convenience public init(customAction: Swift.String)
@available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function")
@objc public init(action: RecaptchaEnterprise.RecaptchaActionType)
@objc public static let login: RecaptchaEnterprise.RecaptchaAction
@objc public static let signup: RecaptchaEnterprise.RecaptchaAction
@objc public static func custom(_ action: Swift.String) -> RecaptchaEnterprise.RecaptchaAction
@objc deinit
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaClient : ObjectiveC.NSObject {
@objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void)
#if compiler(>=5.3) && $AsyncAwait
@available(iOS 13.0, *)
public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String
#endif
@objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void)
@objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.")
@objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaToken?, RecaptchaEnterprise.RecaptchaError?) -> Swift.Void)
@objc deinit
}
@objc public enum RecaptchaErrorCode : Swift.Int {
case errorCodeUnknown = 0
case errorNetworkError = 1
case errorInvalidSiteKey = 2
case erroInvalidKeyType = 3
case errorInvalidPackageName = 4
case errorInvalidAction = 5
case errorInvalidTimeout = 6
case errorNoNetwork = 7
case errorCodeInternalError = 100
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError {
@objc public var errorCode: RecaptchaEnterprise.RecaptchaErrorCode {
@objc get
}
@objc public var errorMessage: Swift.String {
@objc get
}
@objc deinit
}
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public class RecaptchaToken : ObjectiveC.NSObject {
@objc final public let recaptchaToken: Swift.String
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public init(_ mobilemivdvtyi: Swift.String)
@objc deinit
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterprise.RecaptchaActionType : Swift.Equatable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterprise.RecaptchaActionType : Swift.Hashable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterprise.RecaptchaActionType : Swift.RawRepresentable {}
extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Equatable {}
extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Hashable {}
extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.RawRepresentable {}

View file

@ -0,0 +1,107 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterprise -package-name googlemac/iPhone/recaptcha/enterprise
import CryptoKit
import DeviceCheck
import Foundation
import Network
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
import _SwiftConcurrencyShims
@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject {
@objc public static let clientVersion: Swift.String
@objc public static let defaultTimeoutExecute: Swift.Double
@objc public static let defaultTimeoutInit: Swift.Double
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject {
@objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
#if compiler(>=5.3) && $AsyncAwait
@available(iOS 13.0, *)
public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterprise.RecaptchaClient
#endif
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@objc deinit
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
@objc public enum RecaptchaActionType : Swift.Int {
case login
case signup
case other
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaAction : ObjectiveC.NSObject {
convenience public init(customAction: Swift.String)
@available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function")
@objc public init(action: RecaptchaEnterprise.RecaptchaActionType)
@objc public static let login: RecaptchaEnterprise.RecaptchaAction
@objc public static let signup: RecaptchaEnterprise.RecaptchaAction
@objc public static func custom(_ action: Swift.String) -> RecaptchaEnterprise.RecaptchaAction
@objc deinit
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaClient : ObjectiveC.NSObject {
@objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void)
#if compiler(>=5.3) && $AsyncAwait
@available(iOS 13.0, *)
public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String
#endif
@objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void)
@objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.")
@objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaToken?, RecaptchaEnterprise.RecaptchaError?) -> Swift.Void)
@objc deinit
}
@objc public enum RecaptchaErrorCode : Swift.Int {
case errorCodeUnknown = 0
case errorNetworkError = 1
case errorInvalidSiteKey = 2
case erroInvalidKeyType = 3
case errorInvalidPackageName = 4
case errorInvalidAction = 5
case errorInvalidTimeout = 6
case errorNoNetwork = 7
case errorCodeInternalError = 100
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError {
@objc public var errorCode: RecaptchaEnterprise.RecaptchaErrorCode {
@objc get
}
@objc public var errorMessage: Swift.String {
@objc get
}
@objc deinit
}
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public class RecaptchaToken : ObjectiveC.NSObject {
@objc final public let recaptchaToken: Swift.String
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public init(_ mobilemivdvtyi: Swift.String)
@objc deinit
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterprise.RecaptchaActionType : Swift.Equatable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterprise.RecaptchaActionType : Swift.Hashable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterprise.RecaptchaActionType : Swift.RawRepresentable {}
extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Equatable {}
extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Hashable {}
extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.RawRepresentable {}

View file

@ -0,0 +1,4 @@
framework module RecaptchaEnterprise {
header "RecaptchaEnterprise.h"
requires objc
}

View file

@ -1,338 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h</key>
<data>
xWRr/E/wYy7Sp0yB6Gp1DD/dLrU=
</data>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/Info.plist</key>
<data>
HFvkvcH2FGyO+kbXbemKG0YstR4=
</data>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc</key>
<data>
jUzZ70ucRZDB9eI+3lsf8228LVE=
</data>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface</key>
<data>
d25y94i+fAFY0AJf1eu+rMi5XqI=
</data>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap</key>
<data>
ox0fYYZal5uL7KVNXMSAdPPA+Rk=
</data>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy</key>
<data>
d34/WdITFALLLJjkSHGiQSA6Z3Y=
</data>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK</key>
<data>
QO1vgAPOySSuI66Twl5ak8ovskE=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h</key>
<data>
xWRr/E/wYy7Sp0yB6Gp1DD/dLrU=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Info.plist</key>
<data>
XPpp9kxxu6L0eMmszTmEEo6s1m8=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc</key>
<data>
brFI5kERGCy+UjGz2+Bnvt2l0AU=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface</key>
<data>
N24znSq5aAdvb3FvPFG2JQXqtZ4=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftdoc</key>
<data>
HcFRMc8FqqbOXybSV9KwUlhbBL0=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftinterface</key>
<data>
C6izcS0172Keg5BbaKrBQZFcmLk=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap</key>
<data>
ox0fYYZal5uL7KVNXMSAdPPA+Rk=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy</key>
<data>
d34/WdITFALLLJjkSHGiQSA6Z3Y=
</data>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK</key>
<data>
IiGksJB+DWq7iLUrzsImEIQgw34=
</data>
</dict>
<key>files2</key>
<dict>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h</key>
<dict>
<key>hash</key>
<data>
xWRr/E/wYy7Sp0yB6Gp1DD/dLrU=
</data>
<key>hash2</key>
<data>
DN7TwwReF8YggeH+U0TMRMzA+hAtRkT8GSp4WdIfERw=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/Info.plist</key>
<dict>
<key>hash</key>
<data>
HFvkvcH2FGyO+kbXbemKG0YstR4=
</data>
<key>hash2</key>
<data>
HG9mguXmwUgwDI3kYNoKB1kNJsrXCrZsQz1PHuolEQU=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc</key>
<dict>
<key>hash</key>
<data>
jUzZ70ucRZDB9eI+3lsf8228LVE=
</data>
<key>hash2</key>
<data>
4odzfGT3faCpJG3NWt3hfRz6hJae8UU+aCp0ewG9gSQ=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface</key>
<dict>
<key>hash</key>
<data>
d25y94i+fAFY0AJf1eu+rMi5XqI=
</data>
<key>hash2</key>
<data>
57iLgSycgpTwN+RwjZ5Ae8RLMoAokRLkIvxOBQNoyLw=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap</key>
<dict>
<key>hash</key>
<data>
ox0fYYZal5uL7KVNXMSAdPPA+Rk=
</data>
<key>hash2</key>
<data>
fTtRtwQr7CIyNnBuKrVcw3vj1GVThIJhGK83oIOaOx0=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy</key>
<dict>
<key>hash</key>
<data>
d34/WdITFALLLJjkSHGiQSA6Z3Y=
</data>
<key>hash2</key>
<data>
9ogbL0FljSMHAXmM5vR4v1xZZKB2oE8aTODyTk0qUj8=
</data>
</dict>
<key>ios-arm64/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK</key>
<dict>
<key>hash</key>
<data>
QO1vgAPOySSuI66Twl5ak8ovskE=
</data>
<key>hash2</key>
<data>
Wj/ZAiLqd7I0t4P9sqkBGyBdqRw5F1Uk8WCqLAHkqHc=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h</key>
<dict>
<key>hash</key>
<data>
xWRr/E/wYy7Sp0yB6Gp1DD/dLrU=
</data>
<key>hash2</key>
<data>
DN7TwwReF8YggeH+U0TMRMzA+hAtRkT8GSp4WdIfERw=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Info.plist</key>
<dict>
<key>hash</key>
<data>
XPpp9kxxu6L0eMmszTmEEo6s1m8=
</data>
<key>hash2</key>
<data>
jNmz2Ms0G4kzG3nA4uuN32s0hI0xZegXtFs+RdawsAw=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc</key>
<dict>
<key>hash</key>
<data>
brFI5kERGCy+UjGz2+Bnvt2l0AU=
</data>
<key>hash2</key>
<data>
MQ/hBDf541HqUnmhOfBwcIB06j7VZz1VRLhZReMjeuo=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface</key>
<dict>
<key>hash</key>
<data>
N24znSq5aAdvb3FvPFG2JQXqtZ4=
</data>
<key>hash2</key>
<data>
349kl6FePmc+ifxSuhyz6bybqAvQ+M4S5vu5kRh18vM=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftdoc</key>
<dict>
<key>hash</key>
<data>
HcFRMc8FqqbOXybSV9KwUlhbBL0=
</data>
<key>hash2</key>
<data>
xDrbEvkrmidMdLeIbDEjuQcR9+XSoVKLLlBgXHb5PFU=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftinterface</key>
<dict>
<key>hash</key>
<data>
C6izcS0172Keg5BbaKrBQZFcmLk=
</data>
<key>hash2</key>
<data>
nEvIMb3VJ14kpMhYGWZ66qkdddhaYtOtXAjAhtcyKFA=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap</key>
<dict>
<key>hash</key>
<data>
ox0fYYZal5uL7KVNXMSAdPPA+Rk=
</data>
<key>hash2</key>
<data>
fTtRtwQr7CIyNnBuKrVcw3vj1GVThIJhGK83oIOaOx0=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy</key>
<dict>
<key>hash</key>
<data>
d34/WdITFALLLJjkSHGiQSA6Z3Y=
</data>
<key>hash2</key>
<data>
9ogbL0FljSMHAXmM5vR4v1xZZKB2oE8aTODyTk0qUj8=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK</key>
<dict>
<key>hash</key>
<data>
IiGksJB+DWq7iLUrzsImEIQgw34=
</data>
<key>hash2</key>
<data>
4JmnqfaRg73MZZaYZNeHYUUZyixtalbnGDoH1CU9vME=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>

View file

@ -1,107 +0,0 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
// swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterpriseSDK -package-name googlemac/iPhone/recaptcha/enterprise
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
import CryptoKit
import DeviceCheck
import Foundation
import Network
import Security
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
import _SwiftConcurrencyShims
@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject {
@objc public static let clientVersion: Swift.String
@objc public static let defaultTimeoutExecute: Swift.Double
@objc public static let defaultTimeoutInit: Swift.Double
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject {
@objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterpriseSDK.RecaptchaClient
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@objc deinit
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
@objc public enum RecaptchaActionType : Swift.Int {
case login
case signup
case other
public init?(rawValue: Swift.Int)
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc final public class RecaptchaAction : ObjectiveC.NSObject, Swift.Sendable {
convenience public init(customAction: Swift.String)
@available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function")
@objc public init(action: RecaptchaEnterpriseSDK.RecaptchaActionType)
@objc public static let login: RecaptchaEnterpriseSDK.RecaptchaAction
@objc public static let signup: RecaptchaEnterpriseSDK.RecaptchaAction
@objc public static func custom(_ action: Swift.String) -> RecaptchaEnterpriseSDK.RecaptchaAction
@objc deinit
}
@_hasMissingDesignatedInitializers @objc final public class RecaptchaClient : ObjectiveC.NSObject, Swift.Sendable {
@objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void)
final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String
@objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void)
@objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.")
@objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaToken?, RecaptchaEnterpriseSDK.RecaptchaError?) -> Swift.Void)
@objc deinit
}
@objc public enum RecaptchaErrorCode : Swift.Int {
case errorCodeUnknown = 0
case errorNetworkError = 1
case errorInvalidSiteKey = 2
case erroInvalidKeyType = 3
case errorInvalidPackageName = 4
case errorInvalidAction = 5
case errorInvalidTimeout = 6
case errorNoNetwork = 7
case errorCodeInternalError = 100
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError, @unchecked Swift.Sendable {
@objc public var errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode {
@objc get
}
@objc public var errorMessage: Swift.String {
@objc get
}
public init(errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode, errorMessage: Swift.String)
@objc deinit
}
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public class RecaptchaToken : ObjectiveC.NSObject {
@objc final public let recaptchaToken: Swift.String
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public init(_ mobiletecqlyzr: Swift.String)
@objc deinit
}
extension Foundation.UserDefaults : @unchecked Swift.Sendable {
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Equatable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Hashable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.RawRepresentable {}
extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Equatable {}
extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Hashable {}
extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.RawRepresentable {}

View file

@ -1,5 +0,0 @@
framework module RecaptchaEnterpriseSDK {
header "RecaptchaEnterpriseSDK.h"
requires objc
}

View file

@ -1,107 +0,0 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
// swift-module-flags: -target arm64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterpriseSDK -package-name googlemac/iPhone/recaptcha/enterprise
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
import CryptoKit
import DeviceCheck
import Foundation
import Network
import Security
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
import _SwiftConcurrencyShims
@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject {
@objc public static let clientVersion: Swift.String
@objc public static let defaultTimeoutExecute: Swift.Double
@objc public static let defaultTimeoutInit: Swift.Double
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject {
@objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterpriseSDK.RecaptchaClient
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@objc deinit
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
@objc public enum RecaptchaActionType : Swift.Int {
case login
case signup
case other
public init?(rawValue: Swift.Int)
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc final public class RecaptchaAction : ObjectiveC.NSObject, Swift.Sendable {
convenience public init(customAction: Swift.String)
@available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function")
@objc public init(action: RecaptchaEnterpriseSDK.RecaptchaActionType)
@objc public static let login: RecaptchaEnterpriseSDK.RecaptchaAction
@objc public static let signup: RecaptchaEnterpriseSDK.RecaptchaAction
@objc public static func custom(_ action: Swift.String) -> RecaptchaEnterpriseSDK.RecaptchaAction
@objc deinit
}
@_hasMissingDesignatedInitializers @objc final public class RecaptchaClient : ObjectiveC.NSObject, Swift.Sendable {
@objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void)
final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String
@objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void)
@objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.")
@objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaToken?, RecaptchaEnterpriseSDK.RecaptchaError?) -> Swift.Void)
@objc deinit
}
@objc public enum RecaptchaErrorCode : Swift.Int {
case errorCodeUnknown = 0
case errorNetworkError = 1
case errorInvalidSiteKey = 2
case erroInvalidKeyType = 3
case errorInvalidPackageName = 4
case errorInvalidAction = 5
case errorInvalidTimeout = 6
case errorNoNetwork = 7
case errorCodeInternalError = 100
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError, @unchecked Swift.Sendable {
@objc public var errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode {
@objc get
}
@objc public var errorMessage: Swift.String {
@objc get
}
public init(errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode, errorMessage: Swift.String)
@objc deinit
}
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public class RecaptchaToken : ObjectiveC.NSObject {
@objc final public let recaptchaToken: Swift.String
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public init(_ mobiletecqlyzr: Swift.String)
@objc deinit
}
extension Foundation.UserDefaults : @unchecked Swift.Sendable {
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Equatable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Hashable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.RawRepresentable {}
extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Equatable {}
extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Hashable {}
extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.RawRepresentable {}

View file

@ -1,107 +0,0 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
// swift-module-flags: -target x86_64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterpriseSDK -package-name googlemac/iPhone/recaptcha/enterprise
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
import CryptoKit
import DeviceCheck
import Foundation
import Network
import Security
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
import _SwiftConcurrencyShims
@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject {
@objc public static let clientVersion: Swift.String
@objc public static let defaultTimeoutExecute: Swift.Double
@objc public static let defaultTimeoutInit: Swift.Double
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject {
@objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterpriseSDK.RecaptchaClient
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.")
@objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void)
@objc deinit
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
@objc public enum RecaptchaActionType : Swift.Int {
case login
case signup
case other
public init?(rawValue: Swift.Int)
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc final public class RecaptchaAction : ObjectiveC.NSObject, Swift.Sendable {
convenience public init(customAction: Swift.String)
@available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function")
@objc public init(action: RecaptchaEnterpriseSDK.RecaptchaActionType)
@objc public static let login: RecaptchaEnterpriseSDK.RecaptchaAction
@objc public static let signup: RecaptchaEnterpriseSDK.RecaptchaAction
@objc public static func custom(_ action: Swift.String) -> RecaptchaEnterpriseSDK.RecaptchaAction
@objc deinit
}
@_hasMissingDesignatedInitializers @objc final public class RecaptchaClient : ObjectiveC.NSObject, Swift.Sendable {
@objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void)
final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String
@objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void)
@objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void)
@available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.")
@objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaToken?, RecaptchaEnterpriseSDK.RecaptchaError?) -> Swift.Void)
@objc deinit
}
@objc public enum RecaptchaErrorCode : Swift.Int {
case errorCodeUnknown = 0
case errorNetworkError = 1
case errorInvalidSiteKey = 2
case erroInvalidKeyType = 3
case errorInvalidPackageName = 4
case errorInvalidAction = 5
case errorInvalidTimeout = 6
case errorNoNetwork = 7
case errorCodeInternalError = 100
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError, @unchecked Swift.Sendable {
@objc public var errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode {
@objc get
}
@objc public var errorMessage: Swift.String {
@objc get
}
public init(errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode, errorMessage: Swift.String)
@objc deinit
}
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public class RecaptchaToken : ObjectiveC.NSObject {
@objc final public let recaptchaToken: Swift.String
@available(*, deprecated, message: "Newer implementations return the Token as a string.")
@objc public init(_ mobiletecqlyzr: Swift.String)
@objc deinit
}
extension Foundation.UserDefaults : @unchecked Swift.Sendable {
}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Equatable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Hashable {}
@available(*, deprecated, message: "Use RecaptchaAction enums instead.")
extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.RawRepresentable {}
extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Equatable {}
extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Hashable {}
extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.RawRepresentable {}

View file

@ -1,5 +0,0 @@
framework module RecaptchaEnterpriseSDK {
header "RecaptchaEnterpriseSDK.h"
requires objc
}