summaryrefslogtreecommitdiff
path: root/src/auth_manager.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth_manager.zig')
-rw-r--r--src/auth_manager.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth_manager.zig b/src/auth_manager.zig
index 8889ca8..f349801 100644
--- a/src/auth_manager.zig
+++ b/src/auth_manager.zig
@@ -5,7 +5,7 @@
//!
//! - `api_key` sessions are already resolved at config load (literal/env);
//! nothing to do here.
-//! - `oauth_device` sessions are loaded from `$PANTO_HOME/auth/<name>.json`,
+//! - `oauth_device` sessions are loaded from `<data home>/auth/<name>.json`,
//! refreshed if the access token is near expiry, run through the optional
//! secondary exchange (Copilot) if that token is stale, then turned into a
//! `ResolvedCredential` (bearer + dynamic base_url + auth-derived headers).
@@ -40,7 +40,7 @@ pub const AuthManager = struct {
gpa: Allocator,
io: Io,
client: *std.http.Client,
- /// `$PANTO_HOME/auth`. Borrowed for the manager's lifetime.
+ /// `<data home>/auth`. Borrowed for the manager's lifetime.
auth_dir: []const u8,
file_cfg: *const config_file.Config,
/// Arena for the resolved credential strings the live config borrows.