---
title: authenticationData
framework: videosubscriberaccount
role: symbol
role_heading: Instance Property
path: videosubscriberaccount/vsuseraccount-swift.struct/authenticationdata
---

# authenticationData

A string that represents an authentication token for the user account to authenticate with a provider.

## Declaration

```swift
var authenticationData: String? { get set }
```

## Discussion

Discussion The authentication token or data used to maintain the authentication state for the account in your application. The system provides the token or data to the application JS during account refresh requests so that the account can fetch billing cycle dates, account validity, or any other account data. hen you fetch accounts using VSUserAccountManager, if an account is pulled from a different device and the person isn’t signed in to the current device, you can use the token or data to authenticate them seamlessly without requiring their username and password. This data isn’t accessible by Apple.

## See Also

### User account information

- [accountProviderIdentifier](videosubscriberaccount/vsuseraccount-swift.struct/accountprovideridentifier.md)
- [accountType](videosubscriberaccount/vsuseraccount-swift.struct/accounttype-swift.property.md)
- [billingIdentifier](videosubscriberaccount/vsuseraccount-swift.struct/billingidentifier.md)
- [deviceCategory](videosubscriberaccount/vsuseraccount-swift.struct/devicecategory.md)
- [VSUserAccount.OriginatingDeviceCategory](videosubscriberaccount/vsuseraccount-swift.struct/originatingdevicecategory.md)
- [identifier](videosubscriberaccount/vsuseraccount-swift.struct/identifier.md)
- [isFromCurrentDevice](videosubscriberaccount/vsuseraccount-swift.struct/isfromcurrentdevice.md)
- [isSignedOut](videosubscriberaccount/vsuseraccount-swift.struct/issignedout.md)
- [requiresSystemTrust](videosubscriberaccount/vsuseraccount-swift.struct/requiressystemtrust.md)
- [subscriptionBillingCycleEndDate](videosubscriberaccount/vsuseraccount-swift.struct/subscriptionbillingcycleenddate.md)
- [tierIdentifiers](videosubscriberaccount/vsuseraccount-swift.struct/tieridentifiers.md)
- [updateURL](videosubscriberaccount/vsuseraccount-swift.struct/updateurl.md)
