API Reference / modelence / client / verifyEmail
verifyEmail(options): Promise<void>
Defined in: src/auth/client/index.ts:50 Verify user’s email with a verification token.

Example

await verifyEmail({ token: 'verification-token' });

Parameters

ParameterTypeDescription
options{ token: string; }-
options.tokenstringThe email verification token.

Returns

Promise<void>