---
title: "token(_:terminateSession:)"
framework: cryptotokenkit
role: symbol
role_heading: Instance Method
path: "cryptotokenkit/tktokendelegate/token(_:terminatesession:)"
---

# token(_:terminateSession:)

Tells the delegate to terminate the specified token session.

## Declaration

```swift
optional func token(_ token: TKToken, terminateSession session: TKTokenSession)
```

## Parameters

- `token`: The token.
- `session`: The token session to be terminated.

## See Also

### Delegate Methods

- [createSession(_:)](cryptotokenkit/tktokendelegate/createsession(_:).md)
