proxyVerifyOtpV2 method
Produce a SignedRequest from ProxyTVerifyOtpBody by using the client's stamp function.
See also: VerifyOtp.
Verify the OTP code previously sent to the user's contact and return a verification token.
Sign the provided ProxyTVerifyOtpV2Body with the client's stamp function and submit the request (POST /v1/otp_verify_v2).
See also: stampVerifyOtpV2.
Implementation
/// Verify the OTP code previously sent to the user's contact and return a verification token.
///
/// Sign the provided `ProxyTVerifyOtpV2Body` with the client's `stamp` function and submit the request (POST /v1/otp_verify_v2).
///
/// See also: `stampVerifyOtpV2`.
Future<ProxyTVerifyOtpV2Response> proxyVerifyOtpV2({
required ProxyTVerifyOtpV2Body input,
}) async {
return await authProxyRequest<ProxyTVerifyOtpV2Body,
ProxyTVerifyOtpV2Response>("/v1/otp_verify_v2", input,
(json) => ProxyTVerifyOtpV2Response.fromJson(json));
}