Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Patch Release: Refactor OAuth models to structs, extend OAuthUser, and update Vapor #12

Merged
merged 4 commits into from
Jan 11, 2024

Conversation

vamsii777
Copy link
Owner

This pull request introduces several improvements to the OAuth implementation:

Key Changes:

  • Refactored OAuth models to use structs: Enhanced model efficiency and value semantics by transitioning OAuth models from classes to structs.
  • Extended OAuthUser struct: Expanded OAuthUser struct functionality to accommodate additional capabilities.
  • Refactored OAuthClient and OAuthResourceServer models: Optimized model structure for improved performance and maintainability.
  • Upgraded Vapor package to version 4.91.1: Ensured compatibility with the latest Vapor features and bug fixes.

Benefits:

  • Improved performance and memory usage: Struct-based models offer potential performance gains and more efficient memory management.
  • Enhanced code readability and maintainability: The refactored code adheres to best practices and promotes better understanding.
  • Access to latest Vapor features: The updated Vapor package provides access to bug fixes, enhancements, and potential new functionalities.

@vamsii777 vamsii777 merged commit a232797 into main Jan 11, 2024
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant