addOTPEmail method

ResponseFuture<AddOTPEmailResponse> addOTPEmail(
  1. AddOTPEmailRequest request, {
  2. CallOptions? options,
})

Add OTP Email for a user

Add a new One-Time Password (OTP) Email factor to the authenticated user. OTP Email will enable the user to verify a OTP with the latest verified email. The email has to be verified to add the second factor.

Deprecated: please move to the corresponding endpoint under user service v2 (GA).

Implementation

$grpc.ResponseFuture<$0.AddOTPEmailResponse> addOTPEmail(
  $0.AddOTPEmailRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$addOTPEmail, request, options: options);
}