ReCaptchaResult

public enum ReCaptchaResult

The ReCaptcha result.

This may contain the validation token on success, or an error that may have occurred.

  • The validation token.

    Declaration

    Swift

    case token(String)
  • Tries to unwrap the Result and retrieve the token if it’s successful.

    Declaration

    Swift

    public func dematerialize() throws -> String

    Return Value

    The validation token uppon success.