GetPasswordBreachCount (open)
Queries the haveibeenpwned (HIBP) service for the breach count of a password
Syntax
LOADLIB "mod::wrd/lib/auth/passwordpolicy.whlib";
INTEGER FUNCTION GetPasswordBreachCount(STRING pwd)
Parameters
STRING pwd
Password to query
Return value
INTEGER
Breach count (cached for up to 30 minutes)