token_id
uuid
Primary key for a token record.
workspace_id + end_user_id
uuid
Associates the token with a user in a specific workspace.
integration_id
uuid
Indicates which external provider/integration this token belongs to.
encrypted_tokenset
bytea
Stores OAuth access/refresh tokens (encrypted).

Tokens are revoked or refreshed according to each provider’s policy, ensuring secure, short-lived credentials.