---
title: authenticationToken
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkpass/authenticationtoken
---

# authenticationToken

The token for authenticating update requests.

## Declaration

```swift
var authenticationToken: String? { get }
```

## Discussion

Discussion Use this property to store an authentication token for your web service. When the device requests an updated copy of the pass, the request’s header includes this authorization token. Use this token to verify that the request is from a valid device and not from an unauthorized source. Don’t change the authentication token during an update.

## See Also

### Getting the web service information

- [webServiceURL](passkit/pkpass/webserviceurl.md)
