Swift: Sign in a user

Examples

Sign in with email and password

try await supabase.auth.signIn(
  email: "example@email.com",
  password: "example-password"
)

Sign in with phone and password

try await supabase.auth.signIn(
  phone: "+13334445555",
  password: "same-password"
)

// After receiving a SMS with a OTP.
try await supabase.auth.verifyOTP(
  phone: "+13334445555",
  token: "123456",
  type: .sms
)