Skip to content

API Reference parrot.services.connection_authorization

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

parrot.services.connection_authorization

View source

navigator-auth PDP adapter for request-independent connection operations (FEAT-777 M2, AC-14).

Implements :class:parrot.auth.oauth2.authorization.ConnectionAuthorizer for channels without an HTTP request (Slack). Uses PDP._get_tenant_evaluator (private navigator-auth 0.28.9 API) exactly as PDP.is_allowed selects evaluators.

Alias ConnectionAuthorizer

Re-exported from parrot.auth.oauth2.authorization.ConnectionAuthorizer.

Class NavigatorConnectionAuthorizer

Evaluate integration:* actions for a principal through the configured PDP.

Parameter Type Default Description
app Mapping[str, Any]

Method NavigatorConnectionAuthorizer.authorize

Return True only for an explicit ALLOW; every other outcome denies.

authorize(principal: Principal, action: str, provider_id: Optional[str], scopes: List[str]) -> bool

Parameter Type Default Description
principal Principal
action str
provider_id Optional[str]
scopes List[str]

Returns: bool

Alias PermissionContext

Re-exported from parrot.auth.permission.PermissionContext.

Alias Principal

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

Alias UserSession

Re-exported from parrot.auth.permission.UserSession.

Alias resolve_principal

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

Alias to_eval_context

Re-exported from parrot.auth.permission.to_eval_context.

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