# SecurityData Structure Reference



## Scope and provenance

- Product: mobile
- Status: Imported reference snapshot. Import date is not a verification date or guarantee of current release support.
- SDK version: Not declared for this page. Versions in examples must not be assumed current.
- Environment: Page-specific. Confirm the environment host, credentials, and service configuration; do not infer them from another product.
- Source: https://documentation.idmission.com/identity/iOS-SDK-2/Structs/SecurityData.html
- Imported at: 2026-10-25T05:00:44.899Z
- Canonical page: https://docs.idmission.com/mobile/reference/ios/Structs/SecurityData
- Agent index: https://docs.idmission.com/llms.txt

---

<a id="securitydata"></a>

# SecurityData

```
public struct SecurityData : Encodable
```

Child structure of `CustomerEnrollBiometricsRequest`, `CustomerEnrollRequest`, `CustomerIdentifyRequest`, `CustomerLiveCheckRequest`, `CustomerValidateIdFaceMatchRequest`, `CustomerValidateIdRequest`, and `CustomerVerifyRequest`.

<a id="/Properties"></a>

[]()

<a id="//apple_ref/swift/Section/Properties"></a>

[]()

[](https://docs.idmission.com/markdown/mobile/reference/ios/Structs/SecurityData.md#/Properties)

<a id="properties"></a>

### Properties

- <a id="/s:17IDentitySDK_Swift12SecurityDataV8userNameSSvp"></a>

  <a id="//apple_ref/swift/Property/userName"></a>

  `userName`

  Unique login ID provided through sign-up to utilize the API. Varies by environment sandbox vs. production

  <a id="declaration"></a>

  #### Declaration

  Swift

  ```
  public var userName: String
  ```

- <a id="/s:17IDentitySDK_Swift12SecurityDataV8passwordSSvp"></a>

  <a id="//apple_ref/swift/Property/password"></a>

  `password`

  Password provided through sign-up to utilize the API. Varies by environment sandbox vs. production

  <a id="declaration-2"></a>

  #### Declaration

  Swift

  ```
  public var password: String
  ```

- <a id="/s:17IDentitySDK_Swift12SecurityDataV10merchantIdSivp"></a>

  <a id="//apple_ref/swift/Property/merchantId"></a>

  `merchantId`

  Unique identifier for the client, used to communicate with our server. Provided at signup to use the API. Varies by environment (sandbox vs. production)

  <a id="declaration-3"></a>

  #### Declaration

  Swift

  ```
  public var merchantId: Int
  ```

<a id="/Initialization"></a>

[]()

<a id="//apple_ref/swift/Section/Initialization"></a>

[]()

[](https://docs.idmission.com/markdown/mobile/reference/ios/Structs/SecurityData.md#/Initialization)

<a id="initialization"></a>

### Initialization

- <a id="/s:17IDentitySDK_Swift12SecurityDataV8userName8password10merchantIdACSS_SSSitcfc"></a>

  <a id="//apple_ref/swift/Method/init(userName:password:merchantId:)"></a>

  `init(userName:password:merchantId:)`

  Designated initializer.

  <a id="declaration-4"></a>

  #### Declaration

  Swift

  ```
  public init(userName: String, password: String, merchantId: Int)
  ```

  <a id="parameters"></a>

  #### Parameters

  |              |                                                                                                                                                           |
  | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `userName`   | Unique login ID provided through sign-up to utilize the API. Varies by environment sandbox vs. production                                                 |
  | `password`   | Password provided through sign-up to utilize the API. Varies by environment sandbox vs. production                                                        |
  | `merchantId` | Unique identifier for the client, used to communicate with our server. Provided at signup to use the API. Varies by environment (sandbox vs. production)  |

<a id="footer"></a>

© 2026 [IDmission](https://www.idmission.com/). All rights reserved. (Last updated: 2026-10-16)

Generated by [jazzy ♪♫ v0.15.3](https://github.com/realm/jazzy), a [Realm](https://realm.io/) project.
