How googlecloudplatform/recaptcha-enterprise-mobile-sdk works
This repository distributes an iOS reCAPTCHA Enterprise SDK wrapper; the main workflow is an app obtaining a client for its site key, executing an action, and receiving a token or error. The Swift source adapts the SDK’s client and action APIs to Google’s interop protocols, while the substantive SDK implementation is a precompiled dependency. The README also documents score-based and visual challenge examples. Source inspection is limited to the wrapper and package manifest, so internal SDK behavior is not shown.
Main entry points: RecaptchaInteropBidings.swift Interop bindings · RecaptchaEnterprise.h Public SDK header · examples Score examples
Components 7
App integration
- Public SDK header
Sources/Public/RecaptchaEnterprise/RecaptchaEnterprise.h
Interop adapter
- Interop bindings
Sources/RecaptchaEnterprise/RecaptchaInteropBidings.swift - Interop protocols
SDK capability
- Recaptcha SDK
- Score examples
examples - Visual examples
examples
Other components
- iOS app
Connections 6
- iOS app → Public SDK header: integrates
README.md - Public SDK header → Recaptcha SDK: exposes SDK
Sources/Public/RecaptchaEnterprise/RecaptchaEnterprise.h - Interop bindings → Recaptcha SDK: fetches and executes
Sources/RecaptchaEnterprise/RecaptchaInteropBidings.swift - Interop bindings → Interop protocols: adapts protocols
Sources/RecaptchaEnterprise/RecaptchaInteropBidings.swift - iOS app → Score examples: uses score flow
README.md - iOS app → Visual examples: uses visual flow
README.md