proxyVerifyOtp method

Future<ProxyTVerifyOtpResponse> proxyVerifyOtp({
  1. required ProxyTVerifyOtpBody input,
})

Produce a SignedRequest from ProxyTOtpLoginBody by using the client's stamp function.

See also: OtpLogin. Verify the OTP code previously sent to the user's contact and return a verification token.

Sign the provided ProxyTVerifyOtpBody with the client's stamp function and submit the request (POST /v1/otp_verify).

See also: stampVerifyOtp.

Implementation

/// Verify the OTP code previously sent to the user's contact and return a verification token.
///
/// Sign the provided `ProxyTVerifyOtpBody` with the client's `stamp` function and submit the request (POST /v1/otp_verify).
///
/// See also: `stampVerifyOtp`.

Future<ProxyTVerifyOtpResponse> proxyVerifyOtp({
  required ProxyTVerifyOtpBody input,
}) async {
  return await authProxyRequest<ProxyTVerifyOtpBody, ProxyTVerifyOtpResponse>(
      "/v1/otp_verify",
      input,
      (json) => ProxyTVerifyOtpResponse.fromJson(json));
}