Classes
The following classes are available globally.
-
A callback implementation for executing Google reCAPTCHA Enterprise verification.
This callback is used within the Ping Identity journey framework to perform bot detection and fraud prevention using Google’s reCAPTCHA Enterprise service. It extends AbstractCallback for modern Swift callback handling and provides a streamlined interface for reCAPTCHA execution.
Usage in Journey Flow
- Server sends callback with reCAPTCHA site key and input field configuration
- Callback receives configuration via
initValuecalls - Client calls
verify()to obtain reCAPTCHA token - Token and action are submitted back to server for verification
Security Considerations
- Never expose site keys in client code
- Handle errors gracefully without exposing implementation details
- Use appropriate actions for different user flows
Declaration
Swift
public class ReCaptchaEnterpriseCallback : AbstractCallback, @unchecked Sendable
-
Configuration object for customizing reCAPTCHA Enterprise execution.
This class allows fine-grained control over reCAPTCHA behavior including action names, timeouts, and provider customization.
See moreDeclaration
Swift
public final class ReCaptchaEnterpriseConfig : @unchecked Sendable
View on GitHub
Classes Reference