<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/MobileDocumentReader/Token",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader014MobileDocumentB0C5TokenV"
  },
  "title" : "MobileDocumentReader.Token"
}
-->

# MobileDocumentReader.Token

A reader token generated by your server.

```
struct Token
```

## Overview

Use the `Token` to create a [`MobileDocumentReaderSession`](/documentation/ProximityReader/MobileDocumentReaderSession).
You can cache the token and reuse it to create new sessions for up to
48 hours.

## Topics

### Initializers

[`init(String)`](/documentation/ProximityReader/MobileDocumentReader/Token/init(_:))

Creates a token that the merchant server generates.

### Instance Properties

[`let tokenString: String`](/documentation/ProximityReader/MobileDocumentReader/Token/tokenString)

The reader token generated from the merchant server.

## Relationships

### Conforms To

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

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

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

[`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)