# \_auth\_TMDB

TMDb authentication provider.

{% tabs %}
{% tab title="End users" %}

### What this auth provider does

Stores TMDb credentials used by the TMDb sync provider.

### Auth flow

* `api_key` (+ account/session fields depending on UI wiring)

### Writes to config

Namespace:

* `cfg[\"tmdb_sync\"]`

### Related docs

* UI setup: [Auth: TMDb](/crosswatch/providers/authentication/auth-trackers/auth-tmdb.md)
* Adapter: [Adapter: TMDb](/crosswatch/providers/synchronization/adapter-tmdb.md)
* Sync module: [TMDb module](/blueprint-architecture/sync/_mod_tmdb.md)
  {% endtab %}

{% tab title="Power users" %}

### Code map

* `providers/auth/_auth_TMDB.py`

### Public surface

* class: `TMDbAuth`
* functions: `log()`, `html()`

### External endpoints

* `https://www.themoviedb.org/settings/api`

### Capabilities

<details>

<summary>Capabilities (raw)</summary>

```json
{
  "watchlist": true,
  "ratings": true
}
```

</details>

### Dependencies

* `cw_platform.config_base.save_config`
  {% endtab %}
  {% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.crosswatch.app/blueprint-architecture/auth/_auth_tmdb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
