<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoTokenKit",
  "identifier" : "/documentation/CryptoTokenKit/TKTokenSmartCardPINAuthOperation/pin",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CryptoTokenKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TKTokenSmartCardPINAuthOperation(py)PIN"
  },
  "title" : "pin"
}
-->

# pin

The PIN value resulting from performing the operation.

```
var pin: String? { get set }
```

## Discussion

This property is set to the result of the operation after `finishWithError:` is called.

> Note:
> If the ``doc://com.apple.cryptotokenkit/documentation/CryptoTokenKit/TKTokenSmartCardPINAuthOperation/apduTemplate`` property has a set value, this property is not set, as the PIN is automatically sent to the Smart Card using the specified template.

---

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)