> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Strength Check

> Checks the strength of a password and returns a score with actionable feedback. Calls the `POST /sdk/v1/b2b/passwords/strength_check` endpoint. Does not require a session.

## Parameters

**password** `String` *required*

**emailAddress** `String?`

## Returns

**requestId** `String` *required*

**validPassword** `Boolean` *required*

**score** `Int` *required*

**breachedPassword** `Boolean` *required*

**strengthPolicy** `String` *required*

**breachDetectionOnCreate** `Boolean` *required*

**statusCode** `Int` *required*

**ludsFeedback** `ApiB2bPasswordV1LudsFeedback?`

**properties**

**hasLowerCase** `Boolean` *required*

**hasUpperCase** `Boolean` *required*

**hasDigit** `Boolean` *required*

**hasSymbol** `Boolean` *required*

**missingComplexity** `Int` *required*

**missingCharacters** `Int` *required*

**zxcvbnFeedback** `ApiB2bPasswordV1ZxcvbnFeedback?`

**properties**

**warning** `String` *required*

**suggestions** `List\<String\>` *required*

```swift theme={null}
let params = B2BPasswordStrengthCheckParameters(password: "mypassword", emailAddress: "user@example.com")
let response = try await StytchB2B.passwords.strengthCheck(params)
```
