proxyOtpLogin method
Produce a SignedRequest from ProxyTInitOtpBody by using the client's stamp function.
See also: InitOtp.
Login using a verification token and public key.
Sign the provided ProxyTOtpLoginBody with the client's stamp function and submit the request (POST /v1/otp_login).
See also: stampOtpLogin.
Implementation
/// Login using a verification token and public key.
///
/// Sign the provided `ProxyTOtpLoginBody` with the client's `stamp` function and submit the request (POST /v1/otp_login).
///
/// See also: `stampOtpLogin`.
Future<ProxyTOtpLoginResponse> proxyOtpLogin({
required ProxyTOtpLoginBody input,
}) async {
return await authProxyRequest<ProxyTOtpLoginBody, ProxyTOtpLoginResponse>(
"/v1/otp_login",
input,
(json) => ProxyTOtpLoginResponse.fromJson(json));
}