preAuthenticate
Pre-authenticates the user based on the provided authentication strategy. Use this function to send a verification code to the user's email or phone number.
Example
Parameters
Returns
A promise that resolves to the pre-authentication result.