Skip to content

Refactor configuration handling and key management in Context#6

Merged
ZzAve merged 10 commits intomainfrom
session-refresh
Sep 21, 2025
Merged

Refactor configuration handling and key management in Context#6
ZzAve merged 10 commits intomainfrom
session-refresh

Conversation

@ZzAve
Copy link
Collaborator

@ZzAve ZzAve commented Sep 13, 2025

Refactor Context and handler to simplify configuration and key management:

  • Decoupled API key and service attributes from Context, moving to Config.
  • Streamlined RSA key generation with file-based keypair creation.
  • Simplified handler initialization by reducing argument count.
  • Updated tests to align with the revised handler function signature.
  • Improved headers mapping for consistent Config integration.

…n and key management

- Decouple API key and service-specific attributes from `Context`, moving them to `Config`.
- Streamline RSA key generation with new file-based keypair creation.
- Simplify handler initialization by reducing unnecessary arguments.
- Refactor tests to align with updated `handler` function signature.
- Improve headers mapping for consistent `Config` usage across implementation.
@ZzAve ZzAve changed the title Refactor configuration handling and key management in Context (kotlin only) Refactor configuration handling and key management in Context Sep 14, 2025
- Streamline RSA key handling with a `SigningKeysFromPem` interface.
- Decouple `Config` for better modularity and validation.
- Refactor `handler` and `context` to simplify initialization.
- Update tests for compatibility with key management changes.
- Enhance error handling for session and installation validation.
@ZzAve ZzAve merged commit eea29f4 into main Sep 21, 2025
4 checks passed
@ZzAve ZzAve deleted the session-refresh branch September 21, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant