method
RiduAuth.requestVerification
Request an email-verification token through the configured delivery hook.
Arguments
| Argument | Type | Description |
|---|---|---|
input | { email: string; } & | The account email and optional collection. |
options | RequestOptions | | Request options. |
Returns
The declared result.
Promise<AuthActionEnvelope>Full signature
RiduAuth.requestVerification<
Slug extends AuthCollectionSlug<Config> = SessionCollection<Config, DefaultAuth>,
>(
input: { email: string; } & AuthCollectionInput<DefaultAuth, Slug>,
options?: RequestOptions,
): Promise<AuthActionEnvelope>Related types
AuthCollectionSlugCollection slugs with the generated auth capability.
SessionCollectionAuth collections a client's sessions can belong to: its default, or every auth collection.
AuthCollectionInputSelects the auth collection for one call. It is optional only when the client was created with
auth.collection, which becomesDefault; otherwise every call names its collection.RequestOptionsOptions shared by every request.
AuthActionEnvelopeA successful auth maintenance action.