Skip to content

API Reference parrot.auth.oauth2.persistence_redis

github-actions[bot] edited this page Dec 2, 2026 · 1 revision

parrot.auth.oauth2.persistence_redis

View source

OAuth2 users_integrations persistence in Redis (FEAT-878).

Alias RedisDocumentStore

Re-exported from parrot.userstore.RedisDocumentStore.

Class RedisUsersIntegrationStore

Redis twin of the four parrot.auth.oauth2.persistence functions.

Parameter Type Default Description
documents RedisDocumentStore | None None

Method RedisUsersIntegrationStore.upsert

Upsert an integration using its user and provider composite key.

upsert(row: UsersIntegrationRow) -> None

Parameter Type Default Description
row UsersIntegrationRow

Method RedisUsersIntegrationStore.get

Return one integration, or None when it is absent.

get(user_id: str, provider: str) -> UsersIntegrationRow | None

Parameter Type Default Description
user_id str
provider str

Returns: UsersIntegrationRow | None

Method RedisUsersIntegrationStore.delete

Delete one integration, treating an absent record as a no-op.

delete(user_id: str, provider: str) -> None

Parameter Type Default Description
user_id str
provider str

Method RedisUsersIntegrationStore.list

Return valid integrations for a user, logging and skipping invalid documents.

list(user_id: str) -> list[UsersIntegrationRow]

Parameter Type Default Description
user_id str

Returns: list[UsersIntegrationRow]

Alias USERS_INTEGRATIONS

Re-exported from parrot.userstore.collections.USERS_INTEGRATIONS.

Alias UsersIntegrationRow

Re-exported from parrot.auth.oauth2.models.UsersIntegrationRow.

Attribute logger

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally