fix(#411): auth & frontend remediation — all 6 phases complete #418

Merged
jason.woltje merged 51 commits from fix/auth-frontend-remediation into develop 2026-02-16 23:11:42 +00:00
Showing only changes of commit 08e32d42a3 - Show all commits

View File

@@ -45,15 +45,7 @@ const RETRYABLE_CODES: ReadonlySet<AuthErrorCode> = new Set<AuthErrorCode>([
]); ]);
/** Set of recognised error code strings for fast membership testing. */ /** Set of recognised error code strings for fast membership testing. */
const KNOWN_CODES: ReadonlySet<string> = new Set<string>([ const KNOWN_CODES: ReadonlySet<string> = new Set<string>(Object.keys(ERROR_MESSAGES));
"access_denied",
"invalid_credentials",
"server_error",
"network_error",
"rate_limited",
"session_expired",
"unknown",
]);
/** /**
* Type-guard: checks whether a string value is a known {@link AuthErrorCode}. * Type-guard: checks whether a string value is a known {@link AuthErrorCode}.