Interface: UserPasswordServiceInterface
Properties
| Property | Type | Description |
|---|---|---|
getPasswordStore | (userId: string) => Promise<ReferenceIdInterface<string> & PasswordStorageInterface> | Get the object containing the password store by user id. Object must have reference id and password storage interface. |
setPassword | (passwordDto: Partial<PasswordPlainInterface & PasswordPlainCurrentInterface>, userToUpdateId?: string, authorizedUser?: AuthenticatedUserInterface) => Promise<Omit<Partial<PasswordPlainInterface>, "password"> | Omit<Partial<PasswordPlainInterface>, "password"> & Partial<PasswordStorageInterface>> | Set the password (hash) on the user object. |