method
RiduClient.createAuthUser
RiduClient.createAuthUser<Slug extends AuthCollectionSlug<Config>>(
collection: Slug,
data: CreateFor<Config, Slug>,
password: string,
options?: MutationLocaleOptions<LocaleFor<Config>>,
): Promise<OutputFor<Config, Slug>>Create an auth user and credential together.
Related types
AuthCollectionSlugCollection slugs with the generated auth capability.
CreateForResolve a collection create input type.
MutationLocaleOptionsLocale and transport options shared by mutations without an optimistic-concurrency contract.
OutputForResolve a collection document output type.