Log in an existing user using email or phone number with password.
User's email address to be used for email authentication.
User's phone number to be used for phone authentication.
Password to be used for authentication.
The captcha token to be used for captcha verification.
final AuthResponse res = await supabase.auth.signInWithPassword(
email: 'example@email.com',
password: 'example-password',
);
final Session? session = res.session;
final User? user = res.user;
final AuthResponse res = await supabase.auth.signInWithPassword(
phone: '+13334445555',
password: 'example-password',
);
final Session? session = res.session;
final User? user = res.user;