store_code

shallow

io.github.lonniev/tollbooth-oauth2-collector · Verify this server

Store a sealed OAuth2 authorization code. Called by the serverless callback function after the browser redirect. The ``state`` carries BOTH the patron npub (the lookup/retrieve key) and the operator npub (the PUBLIC key the code is sealed to) — see the SDK's ``pack_oauth_state``. The code is sealed with NIP-44 to the operator so only that operator's nsec can open it; the Neon row is keyed by the patron npub, so retrieval (``retrieve_code(state=patron_npub)``) is unchanged. Args: code: The authorization code from the OAuth provider. state: The packed state (``patron_npub.operator_npub``). Returns: Dict with ``success`` key and a message.

100.0/100

1 trials · measured 8 days ago

store_code scores 100.0/100 on Vouch's measured behaviour index, from 1 real invocation trials against io.github.lonniev/tollbooth-oauth2-collector, measured 25 Aug 2026 under methodology v0.2.0. Every measured component scored 100.

Component breakdown

ComponentWeightValue
Reliability35%not applicable
Schema integrity25%100.0
Failure behaviour15%not applicable
Latency15%not applicable
Concurrency10%not applicable

Tool details

Transport
remote
Credential class
self-provisionable
Category
Communication
Input schema
not declared
Output schema
not declared
Side-effect classification
unclassified

Score history

DayScoreTierMethodology
2026-08-25100.0shallowv0.2.0

Probe evidence

ProbeOutcomes
schema_integritypass: 1

Raw request/response logs are not archived yet — the outcome counts above are drawn directly from every recorded trial.

Embed this score

Available for every tool, scored or not — not a verification perk. Always links back to this page.

Vouch score: store_code
[![Vouch score](https://vouch.tools/api/tools/c1a48feb-2933-47f5-8dfc-96ed6b11700f/badge.svg)](https://vouch.tools/tools/c1a48feb-2933-47f5-8dfc-96ed6b11700f)
store_code — Vouch