<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "ManagedSettings",
  "identifier" : "/documentation/ManagedSettings/Token",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Managed Settings"
    ],
    "preciseIdentifier" : "s:15ManagedSettings5TokenV"
  },
  "title" : "Token"
}
-->

# Token

A representation of an activity, such as an app or website, that doesn’t reveal its identity.

```
struct Token<T>
```

## Overview

Managed Settings uses a `Token` to preserve user privacy and prevent anyone
outside of a Family Sharing group from identifying what apps and websites the family accesses.
You can use tokens to restrict and filter device use without accessing personal information.

The ManagedSettings framework provides the following types of tokens:

- [`ApplicationToken`](/documentation/ManagedSettings/ApplicationToken): An opaque representation of a selected app.
- [`WebDomainToken`](/documentation/ManagedSettings/WebDomainToken): An opaque representation of a selected web domain.
- [`ActivityCategoryToken`](/documentation/ManagedSettings/ActivityCategoryToken): An opaque representation of a selected category of activity.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Decodable`](/documentation/Swift/Decodable)

[`Equatable`](/documentation/Swift/Equatable)

[`Encodable`](/documentation/Swift/Encodable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)