authhero 9.44.1 → 9.44.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ import type { ExportLine } from "./types";
2
+ /** Remove stored credential values without inserting placeholder credentials. */
3
+ export declare function redactCredentials(row: ExportLine): ExportLine | undefined;
@@ -12,6 +12,11 @@ export interface ExportLine {
12
12
  data: unknown;
13
13
  }
14
14
  export interface ExportOptions {
15
+ /**
16
+ * Preserve stored credentials other than password hashes. Defaults to true
17
+ * for internal backups. HTTP callers must explicitly opt in and be authorized.
18
+ */
19
+ includeCredentials?: boolean;
15
20
  /**
16
21
  * When false, the `passwords` entity is skipped entirely on export so the
17
22
  * stream never carries password hashes. Defaults to false at the call sites