---
title: Token
framework: managedsettings
role: symbol
role_heading: Structure
path: managedsettings/token
---

# Token

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

## Declaration

```swift
struct Token<T>
```

## Overview

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:

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
