prepareVerification

The prepareVerification method is used to initiate the verification process for a field that requires it.

There are two fields that need to be verified:

After calling this method, use attemptVerification with the code received to complete the verification.

Return

A ClerkResult containing either the result of the verification preparation or a ClerkErrorResponse. A successful response indicates that the verification process has been initiated, and the SignUp object is returned.

Parameters

prepareVerification

The parameters for preparing the verification. Specifies the field which requires verification.