<!--
{
  "availability" : [
    "iOS: 18.1.0 -",
    "iPadOS: 18.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SecureElementCredential",
  "identifier" : "/documentation/SecureElementCredential/CredentialTransaction/Configuration",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "SecureElementCredential",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:32_SecureElementCredential_SwiftUI0C11TransactionC13ConfigurationC"
  },
  "title" : "CredentialTransaction.Configuration"
}
-->

# CredentialTransaction.Configuration

An object that provides configuration information for a transaction that the client intends to perform.

```
class Configuration
```

## Overview

In SwiftUI apps, you fetch a `Configuration` for use in calling the <doc://com.apple.documentation/documentation/SwiftUI/View/transactionTask(_:action:)> view modifier to perform wired transactions and card emulation. Inside the task closure, call [`invalidate()`](/documentation/SecureElementCredential/CredentialTransaction/Configuration/invalidate()) on the configuration when you finish your transaction work.

## Topics

### Invalidating a configuration

[`func invalidate() async throws`](/documentation/SecureElementCredential/CredentialTransaction/Configuration/invalidate())

Invalidates the configuration and transitions the underlying session state to management.

## Relationships

### Conforms To

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

---

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)