refresh token #3
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Generated description
Below is a concise technical summary of the changes proposed in this PR:
graph LR main_("main"):::modified RefreshTokenRequest_("RefreshTokenRequest"):::modified RefreshTokenResponse_("RefreshTokenResponse"):::modified update_auth_token_("update_auth_token"):::modified main_ -- "Added JSON rename for refresh_token field serialization." --> RefreshTokenRequest_ main_ -- "Added JSON rename for access_token and expires_in fields." --> RefreshTokenResponse_ main_ -- "Preserves indentation when updating authorization token line." --> update_auth_token_ classDef added stroke:#15AA7A classDef removed stroke:#CD5270 classDef modified stroke:#EDAC4C linkStyle default stroke:#CBD5E1,font-size:13pxIntegrates an automatic token refresh mechanism into the Apollo MCP server, enabling the
TokenManagerto fetch new access tokens and theConfigManagerto persistently update the configuration with the refreshed token.main.rs, defining request/response structures intoken_manager.rs, and updating the configuration file viaConfigManager::update_auth_token.Modified files (3)
Latest Contributors(2)
Cargo.lockand modify the CI workflow in.github/workflows/ci.yml.Modified files (2)
Latest Contributors(2)