Kotlin: Resend an OTP

Parameters

Examples

Resend an email signup confirmation

supabase.auth.resendEmail(OtpType.Email.SIGNUP, "example@email.com")

Resend a phone signup confirmation

supabase.auth.resendPhone(OtpType.Phone.SMS, "1234567890")

Resend email change email

supabase.auth.resendEmail(OtpType.Email.EMAIL_CHANGE, "example@email.com")

Resend phone change OTP

supabase.auth.resendPhone(OtpType.Phone.PHONE_CHANGE, "1234567890")