diff options
| author | t <t@tjp.lol> | 2026-06-23 09:38:23 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-06-23 10:53:26 -0600 |
| commit | 69a1ee138bb78ad4663fe2d9e58678f7b0d07b74 (patch) | |
| tree | 453d3ad42a07536220e6ca5d91b439ff57793e32 /src/auth_manager.zig | |
| parent | 538a5d926fa626a00cc3dc12c555f11f82867efd (diff) | |
ponytail simplifications to panto cli and lua extensiosn
Diffstat (limited to 'src/auth_manager.zig')
| -rw-r--r-- | src/auth_manager.zig | 4 |
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. |
