Instance Property

authenticationToken

The token used to authenticate update requests.

Declaration

var authenticationToken: String? { get }

Discussion

Use this property to store an authentication token for your web service. When the device requests an updated copy of this pass, the request’s header will include this authorization token. Use this token to verify that the request is coming from a valid device and not from an unauthorized source.

Don’t change the authentication token in an update. There is no guarantee that every copy of the pass will be updated. As a result, your service would need to continue supporting the outdated passes and authentication tokens.

See Also

Updating Passes

var webServiceURL: URL?

The URL for your web service.