Resends a confirmation email or a one-time password (OTP) by SMS.
ResendType.SignUp and ResendType.EmailChange send an email. Set Email on the parameters.ResendType.Sms and ResendType.PhoneChange send an SMS. Set Phone on the parameters.OAuthFlowType as the second argument to send the PKCE code challenge. The call then returns a ResendState with the PKCEVerifier to keep. Resend() does not read the flow type set at client creation.ResendOptions.CaptchaToken when CAPTCHA protection is enabled. EmailRedirectTo applies to emails only.await supabase.Auth.Resend(
new ResendParameters(ResendType.SignUp, email, null, new ResendOptions(captchaToken: null, emailRedirectTo: "https://example.com/welcome")));
await supabase.Auth.Resend(new ResendParameters(ResendType.Sms, null, "+13334445555", null));
var state = await supabase.Auth.Resend(
new ResendParameters(ResendType.SignUp, email, null, null),
OAuthFlowType.PKCE);
var verifier = state.PKCEVerifier;