Authentication and connections
Authentication and connections
Manager-enabled, member-owned access within current user authority. External connections are unavailable.
PlannedExternal access unavailable. Examples are internal contracts or explicitly planned local simulations.
OAuth is the only credential type
OAuth-only external credentials are accepted product intent. DMRealm issues no API keys or personal access tokens. OAuth clients must still protect credentials and tokens. Registration, host setup and transport contracts are not published here.
What a connection is
Planned: a Realm manager enables integrations, then each member authorizes an individual revocable connection. Select existing entities, readable and editable sections, permitted operations and allowed creation types. The connection never exceeds the member’s current permissions.
Created records enter that connection’s allowed scope within current authority. Unrelated future records do not. Broader Realm/type-wide grants are deferred.
Three questions, kept separate
| Dimension | Question | Today |
|---|---|---|
| Product support | Does this operation exist? | Three internal reads; mutations disabled |
| Connection permission | May this connection access this content? | External permission unavailable |
| Approval | Is this exact current proposal approved? | Not applicable to read-only operations |
Planned workflow preview
After effective revocation, subsequent operations, pending applications and cached-result replays are refused immediately, even while a token remains cryptographically valid. Short expiry is not the revocation boundary.
Permission loss intersects user rights and connection policy. Restoring access never silently resumes a pending proposal; revalidate and obtain new approval. An anonymous documentation page cannot manage connections or widen anyone’s rights.
Contract evidence and limitations
Inspected 2026-10-27: dmrealm-services/packages/common/dmrealm_common/agent_entities.py. Model: models/realms.py:RealmEntity. Synthetic fixtures; no real records.
Source SHA-256: f69d56787ed00673716e8de38020c1de687419cd97dc2d69dff08eac6e891df5
Accepted decisions: agent-entity-integration.md, Q1–Q11. Planned occurrence selectors and batches are conceptual. Local simulation tests cannot establish backend security or transaction guarantees.