signUpOrIn abstract method

Future<String> signUpOrIn({
  1. required DeliveryMethod method,
  2. required String loginId,
  3. SignInOptions? options,
})

Authenticates an existing user if one exists, or creates a new user using an OTP

The OTP code will be sent to the user identified by loginId via a delivery method of choice.

Important: Make sure the delivery information corresponding with the delivery method is given either in the optional user parameter or as the loginId itself, i.e., the email address, phone number, etc.

Implementation

Future<String> signUpOrIn({required DeliveryMethod method, required String loginId, SignInOptions? options});