Skip to content

API Reference parrot.services.identity_principal

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.services.identity_principal

View source

Resolve channel identities to Navigator principals (FEAT-773 M8).

Class IdentityPrincipalResolver

Resolve web ids directly and other channels through auth.user_identities.

Parameter Type Default Description
db_pool Any Pool used by navigator-auth's IdentityStore.

Method IdentityPrincipalResolver.resolve

Return the bound principal, or None when resolution fails.

resolve(channel: str, channel_user_id: str) -> Optional[Principal]

Parameter Type Default Description
channel str
channel_user_id str

Returns: Optional[Principal]

Alias Principal

Re-exported from parrot.auth.principal.Principal.

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