> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Impersonation Token

> **Themelio compatibility reference.** This page describes the retained Themelio implementation or its historical design. Check the [parallel-operation guide](/compatibility/index.md) before applying it to the current platform.

An Impersonation Token is a GitLab token generated by the Themelio backend to communicate with the GitLab API on behalf of a user. These tokens are created during the sign-in process, stored in Valkey keyed by session ID, and injected by middleware as a PRIVATE-TOKEN header into authenticated API requests. They are revoked and cleaned up upon sign-out.

<details class="page-source"><summary>Page source</summary>

<a href="/source/docs/content/terms/impersonation-token.md.txt">Source snapshot</a> · Revision `f928834c8`.

</details>
