Skip to content
1 viewer
View

Passport reference

1 page, 36 routes, 37 connections and 0 CLI commands, generated from the declarations of Passport without reading storage or running anything.

AboutCode

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

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Connectionspassport.connectionscustom/view/passport/connections0in navigation
1 row

Connections · 37

Passport.Connector.Forget

Remove one connector's saved values from the credential vault, for a runtime operator. Values the environment supplies stay.

Passport.Connector.Forget input
FieldTypeRequiredDescriptionAllowed
connectorrequired
1 row
Calls and output
  • 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.

Calls and output
  • 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.

Passport.Connector.Put input
FieldTypeRequiredDescriptionAllowed
connectorrequired
1 row
Calls and output
  • 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`.

Calls and output
  • 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.

Passport.Credential.Mint input
FieldTypeRequiredDescriptionAllowed
allowed_connectionsoptional
max_callsoptional
expires_at_msoptional
3 rows
Calls and output
  • 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.

Passport.Credential.Validate input
FieldTypeRequiredDescriptionAllowed
credential_keyrequired
1 row
Calls and output
  • 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.

Passport.EmailConfirm input
FieldTypeRequiredDescriptionAllowed
coderequired
1 row
Calls and output
  • 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.

Calls and output
  • Output keypassport.result
  • Classificationreal
  • POST /passport/email/confirm/sendHTTP route

Passport.ExternalLogin.Clear

Delete an external session's stored login. Owner or operator only.

Passport.ExternalLogin.Clear input
FieldTypeRequiredDescriptionAllowed
passport_idrequired
1 row
Calls and output
  • 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.

Passport.ExternalLogin.Put input
FieldTypeRequiredDescriptionAllowed
siterequired
domainsrequired
usernamerequired
passwordrequired
profileoptional
account_idoptional
passport_idoptional
7 rows
Calls and output
  • 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.

Passport.ExternalLogin.Read input
FieldTypeRequiredDescriptionAllowed
passport_idrequired
1 row
Calls and output
  • Output keypassport.result
  • Classificationreal

Passport.ExternalSession.Authorize

Check an existing read grant without returning credentials.

Passport.ExternalSession.Authorize input
FieldTypeRequiredDescriptionAllowed
automation_actionrequired
1 row
Calls and output
  • 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.

Passport.ExternalSession.Grant input
FieldTypeRequiredDescriptionAllowed
automation_actionrequired
ttl_secsoptional
2 rows
Calls and output
  • Output keypassport.result
  • Classificationreal
  • POST /passport/external-session/grantHTTP route

Passport.ExternalSession.Handoff

Begin or describe an owner-bound, expiring native Browser login handoff.

Calls and output
  • 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.

Passport.ExternalSession.Label input
FieldTypeRequiredDescriptionAllowed
passport_idrequired
labeloptional
2 rows
Calls and output
  • 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.

Passport.ExternalSession.List input
FieldTypeRequiredDescriptionAllowed
account_idoptional
1 row
Calls and output
  • 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.

Passport.ExternalSession.Open input
FieldTypeRequiredDescriptionAllowed
passport_idrequired
1 row
Calls and output
  • 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.

Passport.ExternalSession.Put input
FieldTypeRequiredDescriptionAllowed
siterequired
jarrequired
account_idoptional
passport_idoptional
labeloptional
5 rows
Calls and output
  • 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.

Passport.ExternalSession.Revoke input
FieldTypeRequiredDescriptionAllowed
passport_idrequired
1 row
Calls and output
  • 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.

Passport.ExternalSession.Status input
FieldTypeRequiredDescriptionAllowed
passport_idrequired
statusoptional
detailoptional
whoamioptional
attemptedoptional
login_submittedoptional
6 rows
Calls and output
  • Output keypassport.result
  • Classificationreal
  • POST /passport/external-session/statusHTTP route

Passport.Query

Query passports (filter by account / provider / identifier).

Calls and output
  • 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.

Passport.ServiceKey.List input
FieldTypeRequiredDescriptionAllowed
account_idoptional
1 row
Calls and output
  • 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.

Passport.ServiceKey.Mint input
FieldTypeRequiredDescriptionAllowed
account_idoptional
labeloptional
2 rows
Calls and output
  • Output keypassport.result
  • Classificationreal
  • POST /passport/service-keyHTTP route

Passport.ServiceKey.Revoke

Revoke a service key and every session it opened.

Passport.ServiceKey.Revoke input
FieldTypeRequiredDescriptionAllowed
passport_idrequired
1 row
Calls and output
  • 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.

Passport.SetPassword input
FieldTypeRequiredDescriptionAllowed
secretrequired
identifieroptional
2 rows
Calls and output
  • Output keypassport.result
  • Classificationreal
  • POST /passport/passwordHTTP route

Passport.Status

Passport subsystem health / counts.

Calls and output
  • 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.

Calls and output
  • 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.

Calls and output
  • 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.

Session.LinkMint input
FieldTypeRequiredDescriptionAllowed
account_idoptional
ttl_msoptional
2 rows
Calls and output
  • 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.

Session.LinkRedeem input
FieldTypeRequiredDescriptionAllowed
coderequired
next_urloptional
2 rows
Calls and output
  • 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.

Session.LinkRequest input
FieldTypeRequiredDescriptionAllowed
identifierrequired
1 row
Calls and output
  • Output keypassport.result
  • Classificationreal
  • POST /session/link/requestHTTP route

Session.Refresh

Exchange a refresh token for a new access token. Mutates session row.

Session.Refresh input
FieldTypeRequiredDescriptionAllowed
refresh_tokenrequired
1 row
Calls and output
  • Output keypassport.result
  • Classificationreal
  • POST /session/refreshHTTP route

Session.Revoke

Revoke a session — flips status, prevents further refresh / use.

Calls and output
  • Output keypassport.result
  • Classificationreal
  • POST /session/revokeHTTP route

Session.RingList

List live accounts present in the browser's HttpOnly session ring without exposing tokens.

Calls and output
  • Output keypassport.result
  • Classificationroute_handler
  • GET /session/ringHTTP route

Session.Status

Session subsystem health / counts (active vs expired / revoked).

Calls and output
  • 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.

Session.Switch input
FieldTypeRequiredDescriptionAllowed
session_idoptional
account_idoptional
next_urloptional
3 rows
Calls and output
  • Output keypassport.result
  • Classificationreal
  • POST /session/switchHTTP route

Session.Validate

Validate a session token; updates `last_active_at_ms` and may surface expiry / revocation.

Session.Validate input
FieldTypeRequiredDescriptionAllowed
access_tokenrequired
1 row
Calls and output
  • Output keypassport.result
  • Classificationreal
  • POST /session/validateHTTP route

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper_with_sql_compat
  • Preferred truthhyper
  • App ownerPassport
  • SQL projectioncompatibility_projection · DDL declarations: 9
Hyper vertex kinds read
  • None declared.
Hyper vertex kinds written
  • Credential
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • warningApp declares a Hyper graph model and SQL DDL; treat SQL as compatibility/projection until migrated. (hybrid_model)
SQL tables
Table
passports_runtime
passport_sessions_runtime
2 rows

Structure review · 1

Warnings · 1
  • Passport · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)