setCaptchaToken method
Stores a captcha token a host-implemented widget resolved, for the next captcha-gated call to consume (sendEmailOtp, resendEmailOtp, signInWithSocial, sendSmsOtp) — single-use, mirrors dynamic-js-sdk's setCaptchaToken() exactly.
Implementation
void setCaptchaToken(String captchaToken) {
void instrumentationOperation() {
_state.captchaToken = captchaToken;
_state.captchaTokenChanged.emit(_state.captchaToken);
}
return _api.instrumentation.run("auth.setCaptchaToken", instrumentationOperation);
}