Classes

The following classes are available globally.

ReCaptchaEnterpriseCallback

  • 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

    1. Server sends callback with reCAPTCHA site key and input field configuration
    2. Callback receives configuration via initValue calls
    3. Client calls verify() to obtain reCAPTCHA token
    4. 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
    See more

    Declaration

    Swift

    public class ReCaptchaEnterpriseCallback : AbstractCallback, @unchecked Sendable

ReCaptchaEnterpriseConfig

  • Configuration object for customizing reCAPTCHA Enterprise execution.

    This class allows fine-grained control over reCAPTCHA behavior including action names, timeouts, and provider customization.

    See more

    Declaration

    Swift

    public final class ReCaptchaEnterpriseConfig : @unchecked Sendable