Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions theolive/distribution/security/token-based-security.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ The JWT token supports a custom `optiview` claim that enables fine-grained acces
| `ch` | `string[]` | Channel ID(s). If present, the token can exclusively be used for a channel in this list. |
| `cc` | `string[]` | Country code(s) in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1) format (e.g. `"US"`, `"BE"`). If present, the token can exclusively be used for a country in this list. |
| `rgn` | `string[]` | Region code(s) using the subdivision codes defined in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2), only supported for the United States and Canada regions (e.g. `"US-CA"`, `"US-NY"`). If present, the token can exclusively be used for a region in this list. If the viewer's region cannot be determined, the request is denied. |
| `mc` | `number[]` | Metro code(s), only supported for the United States (e.g. `501`, `803`). If present, the token can exclusively be used for a metro area in this list. If the viewer's metro area cannot be determined, the request is denied. |
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer accurate; this was changed to dma

| `hw` | `string[]` | Device type(s). If present, the token can exclusively be used by a device type in this list. Possible values: `"desktop"`, `"mobile"`, `"tv"`. If the viewer's device type cannot be determined, this restriction is skipped. |
| `tid` | string | Tracking ID. A group identifier string used to correlate viewers. |
| `cvd` | string | Custom viewer data. Arbitrary string attached to the session, e.g. an individual identifier to uniquely identify a viewer. |
Expand Down
Loading