sendReset abstract method
Sends a password reset email to the user.
This operation starts a Magic Link flow for the user identified by
loginId depending on the configuration in the Descope console. An optional
redirectUrl can be provided to the magic link method.
After the authentication flow is finished
use the refreshJwt to call update and change the user's password.
Important: The user must be verified according to the configured password reset method.
Implementation
Future<void> sendReset({required String loginId, String? redirectUrl});