Kotlin: Verify and log in through OTP

Parameters

Examples

Verify an Email OTP

supabase.auth.verifyEmailOtp(type = OtpType.Email.EMAIL, email = "example@email.com", token = "token")

Verify an Phone OTP

supabase.auth.verifyPhoneOtp(type = OtpType.Phone.SMS, phone = "+491234567", token = "token")