summaryrefslogtreecommitdiff
path: root/libpanto/src/auth.zig
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/src/auth.zig
parent538a5d926fa626a00cc3dc12c555f11f82867efd (diff)
ponytail simplifications to panto cli and lua extensiosn
Diffstat (limited to 'libpanto/src/auth.zig')
-rw-r--r--libpanto/src/auth.zig8
1 files changed, 4 insertions, 4 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`.