summaryrefslogtreecommitdiff
path: root/libpanto
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-06-23 09:38:23 -0600
committert <t@tjp.lol>2026-06-23 10:53:26 -0600
commit69a1ee138bb78ad4663fe2d9e58678f7b0d07b74 (patch)
tree453d3ad42a07536220e6ca5d91b439ff57793e32 /libpanto
parent538a5d926fa626a00cc3dc12c555f11f82867efd (diff)
ponytail simplifications to panto cli and lua extensiosn
Diffstat (limited to 'libpanto')
-rw-r--r--libpanto/src/auth.zig8
-rw-r--r--libpanto/src/public.zig4
2 files changed, 6 insertions, 6 deletions
diff --git a/libpanto/src/auth.zig b/libpanto/src/auth.zig
index 4c1723b..f70b031 100644
--- a/libpanto/src/auth.zig
+++ b/libpanto/src/auth.zig
@@ -18,8 +18,8 @@
//! and — added incrementally — the HTTP flows and refresh lifecycle). It is
//! UI- and filesystem-policy-agnostic: token storage takes a directory path,
//! and interactive device-code prompts are delivered through a caller-supplied
-//! `Presenter`. That keeps libpanto reusable while the embedder owns where
-//! `$PANTO_HOME` is and how a device code is shown to the user.
+//! `Presenter`. That keeps libpanto reusable while the embedder owns token
+//! storage policy and how a device code is shown to the user.
const std = @import("std");
const builtin = @import("builtin");
@@ -105,7 +105,7 @@ pub const AuthConfig = union(AuthType) {
};
// ===========================================================================
-// Persisted token state (`$PANTO_HOME/auth/<name>.json`)
+// Persisted token state (`<auth_dir>/<name>.json`)
// ===========================================================================
/// Durable auth state for one session. Only the fields relevant to the auth
@@ -155,7 +155,7 @@ pub const ResolvedCredential = struct {
};
// ===========================================================================
-// Token storage (`$PANTO_HOME/auth/<name>.json`)
+// Token storage (`<auth_dir>/<name>.json`)
// ===========================================================================
/// A parsed `TokenSet` plus the arena owning its strings. Call `deinit`.
diff --git a/libpanto/src/public.zig b/libpanto/src/public.zig
index eb8e29a..d8b9f7b 100644
--- a/libpanto/src/public.zig
+++ b/libpanto/src/public.zig
@@ -92,8 +92,8 @@ pub const TokenSet = auth_mod.TokenSet;
pub const ParsedTokenSet = auth_mod.ParsedTokenSet;
pub const ResolvedCredential = auth_mod.ResolvedCredential;
-/// Token persistence under an embedder-chosen auth directory
-/// (`$PANTO_HOME/auth`). Files are written owner-only.
+/// Token persistence under an embedder-chosen auth directory. Files are
+/// written owner-only.
pub const loadTokenSet = auth_mod.loadTokenSet;
pub const saveTokenSet = auth_mod.saveTokenSet;
pub const deleteTokenSet = auth_mod.deleteTokenSet;