Przejdź do głównej zawartości

Interface: UseEmailVerificationReturn

Properties

isResending

isResending: boolean

true while a resend call is in flight.


isVerifying

isVerifying: boolean

true while a verifyEmail call is in flight.


resendVerificationEmail

resendVerificationEmail: () => Promise<EmailVerificationResult>

Queue a fresh verification e-mail for the signed-in customer.

Returns

Promise<EmailVerificationResult>


verifyEmail

verifyEmail: (token) => Promise<EmailVerificationResult>

Consume the raw verification token from the e-mail URL.

Parameters

token

string

Returns

Promise<EmailVerificationResult>