resendSignUpCode method

Future<ResendSignUpCodeResult> resendSignUpCode({
  1. required String username,
  2. ResendSignUpCodeOptions? options,
})

Resends the code that is used to confirm the user's account after sign up

Resends the code to the user with the given username, where username is a login identifier or an email/phone number, depending on the configuration

Accepts plugin-specific, advanced options for the request

Implementation

Future<ResendSignUpCodeResult> resendSignUpCode({
  required String username,
  ResendSignUpCodeOptions? options,
}) {
  var request = ResendSignUpCodeRequest(username: username, options: options);
  return plugins.length == 1
      ? plugins[0].resendSignUpCode(request: request)
      : throw _pluginNotAddedException('Auth');
}