proxyInitOtpV2 method

Future<ProxyTInitOtpV2Response> proxyInitOtpV2({
  1. required ProxyTInitOtpV2Body input,
})

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

See also: InitOtp. Start a new OTP flow and return a new OTP flow ID.

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

See also: stampInitOtpV2.

Implementation

/// Start a new OTP flow and return a new OTP flow ID.
///
/// Sign the provided `ProxyTInitOtpV2Body` with the client's `stamp` function and submit the request (POST /v1/otp_init_v2).
///
/// See also: `stampInitOtpV2`.

Future<ProxyTInitOtpV2Response> proxyInitOtpV2({
  required ProxyTInitOtpV2Body input,
}) async {
  return await authProxyRequest<ProxyTInitOtpV2Body, ProxyTInitOtpV2Response>(
      "/v1/otp_init_v2",
      input,
      (json) => ProxyTInitOtpV2Response.fromJson(json));
}