refactor(auth): centralize inference-credential routing in CredentialAuthority
One authority answers 'which credential may ride this request': credential_class / manager_for / credential_for / bearer_resolver_for, keyed by (platform, base_url). SessionCredential is an opaque type with no production constructor, so a new call site cannot re-introduce the session-bearer leak. Platform-scoped tests extended across all bearer channels (session, aux, summary, subagent override). Verified: cargo check --workspace --all-targets clean; kigi-shell and kigi-tui suites green (6611+ tests).
This commit is contained in:
1 parent
2d00a4e6e6
commit
48d89c7830
35 files changed
+3158
-1099
No files matched your search
@@ -1,5 +1,6 @@
|
||||
pub(crate) mod attribution;
|
||||
mod config;
|
||||
pub(crate) mod credential_authority;
|
||||
pub mod credential_provider;
|
||||
pub(crate) mod device;
|
||||
pub mod device_code;
|
||||
|
||||
Reference in new issue
Block a user