---
title: expire()
framework: avfoundation
role: symbol
role_heading: Instance Method
path: avfoundation/avcontentkeysession/expire()
---

# expire()

Tells the delegate that the session expired as the result of normal, intentional processes.

## Declaration

```swift
func expire()
```

## See Also

### Managing expiration

- [makeSecureTokenForExpirationDate(ofPersistableContentKey:completionHandler:)](avfoundation/avcontentkeysession/makesecuretokenforexpirationdate(ofpersistablecontentkey:completionhandler:).md)
- [renewExpiringResponseData(for:)](avfoundation/avcontentkeysession/renewexpiringresponsedata(for:).md)
- [contentProtectionSessionIdentifier](avfoundation/avcontentkeysession/contentprotectionsessionidentifier.md)
