<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASExportedCredentialData",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "s:22AuthenticationServices24ASExportedCredentialDataV"
  },
  "title" : "ASExportedCredentialData"
}
-->

# ASExportedCredentialData

A container for credential data that your app provides to an exporter or receives from an importer.

```
struct ASExportedCredentialData
```

## Overview

This type is a wrapper object for multiple [`ASImportableAccount`](/documentation/AuthenticationServices/ASImportableAccount) objects.

## Topics

### Creating a credential data instance

### Accessing accounts

[`var accounts: [ASImportableAccount]`](/documentation/AuthenticationServices/ASExportedCredentialData/accounts)

An array of importable accounts.

[`struct ASImportableAccount`](/documentation/AuthenticationServices/ASImportableAccount)

An account for use in importing and exporting credentials.

### Identifying an instance

### Hashing

### Encoding and decoding

### Comparing instances

### Initializers

[`init(accounts: [ASImportableAccount], formatVersion: ASExportedCredentialData.FormatVersion, exporterRelyingPartyIdentifier: String, exporterDisplayName: String, timestamp: Date)`](/documentation/AuthenticationServices/ASExportedCredentialData/init(accounts:formatVersion:exporterRelyingPartyIdentifier:exporterDisplayName:timestamp:))

### Instance Properties

[`let exporterDisplayName: String`](/documentation/AuthenticationServices/ASExportedCredentialData/exporterDisplayName)

[`let exporterRelyingPartyIdentifier: String`](/documentation/AuthenticationServices/ASExportedCredentialData/exporterRelyingPartyIdentifier)

[`let formatVersion: ASExportedCredentialData.FormatVersion`](/documentation/AuthenticationServices/ASExportedCredentialData/formatVersion-swift.property)

[`let timestamp: Date`](/documentation/AuthenticationServices/ASExportedCredentialData/timestamp)

### Enumerations

[`enum FormatVersion`](/documentation/AuthenticationServices/ASExportedCredentialData/FormatVersion-swift.enum)

The Credential Exchange Format version for `ASExportedCredentialData`.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Decodable`](/documentation/Swift/Decodable)

[`Equatable`](/documentation/Swift/Equatable)

[`Encodable`](/documentation/Swift/Encodable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)