PasswordStrengthCheck (Enterprise)
Perform a password strength check.
HTTP Request
POST /v1/auth/passwords/strength_check
Returns
A successful response returns an object with password strength properties such as score
, crack_time
and crack_time_display
for UI. Higher score
demonstrates higher security and the crack_time
is calculated assuming unlimited programmatic attempts using standard compute power.
POST /v1/auth/passwords/strength_check
curl \
-X POST https://api.streambird.io/v1/auth/passwords/strength_check \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"password":"hbDh5zCYexLhDTLalkIy6lcO"}'
Request example
{
"password": "hbDh5zCYexLhDTLalkIy6lcO"
}
Response examples (200)
{
"score": 4,
"crack_time": 3.679123019869259e+32,
"crack_time_display": "centuries"
}