sigildocs

(sigil oauth store)

(sigil oauth store) - Persistent token storage for OAuth tokens.

Saves and loads oauth-tokens records as JSON files. Default location: ~/.config/sigil/<service-name>/tokens.json

Exports

Save tokens to a JSON file. Optional: custom file path as third argument.

Load tokens from a JSON file. Returns an oauth-tokens record or #f if unavailable.

Delete stored tokens for a service. Returns #t if deleted, #f if file didn't exist.