signUp abstract method

Future<String> signUp({
  1. required DeliveryMethod method,
  2. required String loginId,
  3. SignUpDetails? details,
  4. String? redirectUrl,
})

Authenticates a new user using a magic link.

The magic link 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 details parameter or as the loginId itself, i.e., the email address, phone number, etc.

Important: Make sure a default magic link URL is configured in the Descope console, or provided by this call via redirectUrl.

Implementation

Future<String> signUp({required DeliveryMethod method, required String loginId, SignUpDetails? details, String? redirectUrl});