Passport reference
1 page, 36 routes, 37 connections and 0 CLI commands, generated from the declarations of Passport without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 1
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Connections | passport.connections | custom | /view/passport/connections | 0 | in navigation |
Connections · 37
Passport.Connector.Forget
Remove one connector's saved values from the credential vault, for a runtime operator. Values the environment supplies stay.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| connector | required |
- Output keypassport.result
- Classificationreal
- POST /passport/connector/forgetHTTP route
Passport.Connector.List
List the node's connectors (Stripe, email, shipping, suppliers, calendar sign-in, AI) with which values are held and where each comes from, for a runtime operator. Never a secret.
- Output keypassport.result
- Classificationreal
- GET /passport/connectorsHTTP route
Passport.Connector.Put
Save one connector's values in the credential vault under the names the reading apps look up, for a runtime operator. A blank field keeps what is saved.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| connector | required |
- Output keypassport.result
- Classificationreal
- POST /passport/connectorHTTP route
Passport.Create
Issue a Passport credential bound to an Account (provider + identifier + secret hash). The auth-foundation insert; persisted to `passports_runtime`.
- Output keypassport.result
- Classificationreal
- POST /passport/createHTTP route
Passport.Credential.Mint
Mint a new scoped service credential with configurable connection restrictions, call limits, and expiration. Returns the new API key.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| allowed_connections | optional | |||
| max_calls | optional | |||
| expires_at_ms | optional |
- Output keypassport.result
- Classificationreal
- POST /passport/credential/mintHTTP route
Passport.Credential.Validate
Validate a scoped service credential — checks expiration, call limits, and connection scope. Increments the call counter on success.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| credential_key | required |
- Output keypassport.result
- Classificationreal
- POST /passport/credential/validateHTTP route
Passport.EmailConfirm
Spend a confirmation link, once and before it expires: the passport records its sign-in address as confirmed.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| code | required |
- Output keypassport.result
- Classificationreal
- POST /passport/email/confirmHTTP route
Passport.EmailConfirmSend
Mail the signed-in account a confirmation link for each email it signs in with that is not confirmed yet.
- Output keypassport.result
- Classificationreal
- POST /passport/email/confirm/sendHTTP route
Passport.ExternalLogin.Clear
Delete an external session's stored login. Owner or operator only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| passport_id | required |
- Output keypassport.result
- Classificationreal
- POST /passport/external-login/clearHTTP route
Passport.ExternalLogin.Put
Store the owner's own login for an external site, scoped to named domains, so the runtime can sign in there for it. Opens an external session when none is named. Owner-gated; the login goes to the credential vault and is never echoed.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| site | required | |||
| domains | required | |||
| username | required | |||
| password | required | |||
| profile | optional | |||
| account_id | optional | |||
| passport_id | optional |
- Output keypassport.result
- Classificationreal
- POST /passport/external-loginHTTP route
Passport.ExternalLogin.Read
Return an external session's stored login to an in-process sign-in acting for the owning account. No HTTP route, refused to a request that names it directly, and served only under the sign-in service's own origin: never to an operator or a relayed dispatch.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| passport_id | required |
- Output keypassport.result
- Classificationreal
Passport.ExternalSession.Authorize
Check an existing read grant without returning credentials.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| automation_action | required |
- Output keypassport.result
- Classificationreal
- POST /passport/external-session/authorizeHTTP route
Passport.ExternalSession.Grant
Explicitly grant or withdraw read automation for this account, provider, origin and session.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| automation_action | required | |||
| ttl_secs | optional |
- Output keypassport.result
- Classificationreal
- POST /passport/external-session/grantHTTP route
Passport.ExternalSession.Handoff
Begin or describe an owner-bound, expiring native Browser login handoff.
- Output keypassport.result
- Classificationreal
- POST /passport/external-session/handoffHTTP route
Passport.ExternalSession.Label
Set or clear a human-readable label on an owned external session passport.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| passport_id | required | |||
| label | optional |
- Output keypassport.result
- Classificationreal
- POST /passport/external-session/labelHTTP route
Passport.ExternalSession.List
List an account's external sessions (site, scope domains, cookie names — never the cookie values), for its own session or a runtime operator.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | optional |
- Output keypassport.result
- Classificationreal
- GET /passport/external-sessionsHTTP route
Passport.ExternalSession.Open
Return the stored cookie jar for an external session so a client the account controls can carry it. The sensitive read: the owning account's own session only, never an operator.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| passport_id | required |
- Output keypassport.result
- Classificationreal
- POST /passport/external-session/openHTTP route
Passport.ExternalSession.Put
Store (or update) a signed-in session the account holds on a site outside CRE8 — the person signs in themselves and hands over the cookie jar, scoped to named domains. Owner-gated; cookie values go to the credential vault.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| site | required | |||
| jar | required | |||
| account_id | optional | |||
| passport_id | optional | |||
| label | optional |
- Output keypassport.result
- Classificationreal
- POST /passport/external-sessionHTTP route
Passport.ExternalSession.Revoke
Revoke an external session: delete its stored jar and stored login and mark the record revoked. Owner or operator only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| passport_id | required |
- Output keypassport.result
- Classificationreal
- POST /passport/external-session/revokeHTTP route
Passport.ExternalSession.Status
Record an external session's sign-in state (signed_in, signed_out, needs_human, bad_login, error), with an optional detail and the account the site says is signed in. `attempted` marks a sign-in attempt, timed by the runtime's own clock. A stop state (needs_human, bad_login) is left only when the sign-in service confirms a sign-in. Owner or operator only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| passport_id | required | |||
| status | optional | |||
| detail | optional | |||
| whoami | optional | |||
| attempted | optional | |||
| login_submitted | optional |
- Output keypassport.result
- Classificationreal
- POST /passport/external-session/statusHTTP route
Passport.Query
Query passports (filter by account / provider / identifier).
- Output keypassport.result
- Classificationroute_handler
- GET /passportHTTP route
Passport.ServiceKey.List
List an account's service keys (never their secrets), for its own session or a runtime operator.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | optional |
- Output keypassport.result
- Classificationreal
- GET /passport/service-keysHTTP route
Passport.ServiceKey.Mint
Issue a service key for an account the verified caller controls (its own session or a runtime operator). The key is returned once and exchanged at Session.Create {api_key} for a normal session; only its hash is stored.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | optional | |||
| label | optional |
- Output keypassport.result
- Classificationreal
- POST /passport/service-keyHTTP route
Passport.ServiceKey.Revoke
Revoke a service key and every session it opened.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| passport_id | required |
- Output keypassport.result
- Classificationreal
- POST /passport/service-key/revokeHTTP route
Passport.SetPassword
The signed-in account sets its password: every password passport it holds takes the new secret (the old one stops working), or one is made under the identifier named. A change signs every other browser out and mails each email address the account signs in with.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| secret | required | |||
| identifier | optional |
- Output keypassport.result
- Classificationreal
- POST /passport/passwordHTTP route
Passport.Status
Passport subsystem health / counts.
- Output keypassport.result
- Classificationroute_handler
- GET /passport/statusHTTP route
Passport.Verify
Verify a passport's signature / secret. May update verification state on the passport record.
- Output keypassport.result
- Classificationreal
- POST /passport/verifyHTTP route
Session.Create
Create a new session token for an Account/Passport pair. Inserts a `passport_sessions_runtime` row with access + refresh tokens.
- Output keypassport.result
- Classificationreal
- POST /session/createHTTP route
Session.LinkMint
Mint a one-time sign-in code from the caller's own live session, for its own account or, for a runtime operator, another account's. Only the code's hash is kept.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | optional | |||
| ttl_ms | optional |
- Output keypassport.result
- Classificationreal
- POST /session/linkHTTP route
Session.LinkRedeem
Exchange a one-time sign-in code, once and before it expires, for a new session; the gateway sets the session cookie as it does for Session.Create.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| code | required | |||
| next_url | optional |
- Output keypassport.result
- Classificationreal
- POST /session/link/redeemHTTP route
Session.LinkRequest
Forgot password: mail a one-time sign-in link to the email a password sign-in uses. Open to anyone; it answers the same whoever it names, and is throttled per address and per node.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| identifier | required |
- Output keypassport.result
- Classificationreal
- POST /session/link/requestHTTP route
Session.Refresh
Exchange a refresh token for a new access token. Mutates session row.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| refresh_token | required |
- Output keypassport.result
- Classificationreal
- POST /session/refreshHTTP route
Session.Revoke
Revoke a session — flips status, prevents further refresh / use.
- Output keypassport.result
- Classificationreal
- POST /session/revokeHTTP route
Session.RingList
List live accounts present in the browser's HttpOnly session ring without exposing tokens.
- Output keypassport.result
- Classificationroute_handler
- GET /session/ringHTTP route
Session.Status
Session subsystem health / counts (active vs expired / revoked).
- Output keypassport.result
- Classificationroute_handler
- GET /session/statusHTTP route
Session.Switch
Switch the active browser session cookie to another live session held in the browser's HttpOnly session ring.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| session_id | optional | |||
| account_id | optional | |||
| next_url | optional |
- Output keypassport.result
- Classificationreal
- POST /session/switchHTTP route
Session.Validate
Validate a session token; updates `last_active_at_ms` and may surface expiry / revocation.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| access_token | required |
- Output keypassport.result
- Classificationreal
- POST /session/validateHTTP route
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper_with_sql_compat
- Preferred truthhyper
- App ownerPassport
- SQL projectioncompatibility_projection · DDL declarations: 9
- None declared.
- Credential
- None declared.
- None declared.
- None declared.
- warningApp declares a Hyper graph model and SQL DDL; treat SQL as compatibility/projection until migrated. (hybrid_model)
| Table |
|---|
| passports_runtime |
| passport_sessions_runtime |
Structure review · 1
- Passport · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)