diff options
Diffstat (limited to 'libpanto')
| -rw-r--r-- | libpanto/src/auth.zig | 8 | ||||
| -rw-r--r-- | libpanto/src/public.zig | 4 |
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; |
