UNPKG

feathers-authentication-management

Version:

Adds sign up verification, forgotten password reset, and other capabilities to local feathers-authentication

9 lines (8 loc) 408 B
import type { NullableId, Params } from '@feathersjs/feathers'; import type { CheckUniqueOptions, IdentifyUser } from '../types'; /** * This module is usually called from the UI to check username, email, etc. are unique. */ export default function checkUnique(options: CheckUniqueOptions, identifyUser: IdentifyUser, ownId?: NullableId, meta?: { noErrMsg?: boolean; }, params?: Params): Promise<null>;