Skip to main content

validatePassword

For the complete documentation index, see llms.txt

Midnight.js API Reference v4.1.0


Midnight.js API Reference / @midnight-ntwrk/midnight-js-utils / validatePassword

Function: validatePassword()

validatePassword(password): void

Shared password strength policy for private storage and export/import operations. Throws PasswordValidationError on the first violated rule.

Parameters​

password​

string

Returns​

void