signIn abstract method

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

Authenticates an existing 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 a default magic link URL is configured in the Descope console, or provided by this call via redirectUrl.

Implementation

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