Files
codex/codex-rs
Matthew Zeng 312709252d Add an RMCP OAuth credential store adapter (#42384)
## What changed

- Add a test-only `CredentialStore` adapter that maps RMCP refreshes onto Codex's pinned OAuth credential backend.
- Require refresh transaction guards for mutations, preserve the pinned backend, and update the runtime credential snapshot only after persistence succeeds.
- Preserve scopes and token expiry metadata while rejecting credentials that no longer match the connection's client or issuer.

## Testing

- Cover guarded save and clear operations, persistence failures, pinned-store read failures, replacement and removal handling, and expiry round trips.

GitOrigin-RevId: eb1b98024322c03af94f5ab2e88c7dc4ae54893a
2026-09-02 23:19:11 +00:00
..
2026-07-29 13:53:15 +00:00
2026-09-02 23:13:33 +00:00
2026-09-02 23:13:33 +00:00
…
2026-07-29 13:53:15 +00:00
…