/auth/me/password-strengthCheck password strength using the current tenant's password policy
Schema: handler.SelfServicePasswordStrengthRequest
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
password |
string |
Yes | MyP@ssw0rd! |
| Status | Description | Schema |
|---|---|---|
| 200 | Password strength | dto.PasswordStrengthResponseWrapper |
Individual check item in password strength check
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
key |
string |
No | min_length |
||
label |
string |
No | At least 8 characters |
||
passed |
boolean |
No | True |
Password strength check result, including score and details of each check
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
checks |
array of |
No | |||
crack_seconds |
number |
No | 31557600 |
||
crack_time |
string |
No | centuries |
||
is_strong |
boolean |
No | False |
||
score |
integer |
No | 75 |
||
suggestions |
array of string |
No | ['Add another word or two'] |
||
warning |
string |
No | This is a common password |
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
data |
dto.PasswordStrengthResponse |
No | |||
message |
string |
No | |||
timestamp |
string |
No |