yao/openapi/oauth
Max 2b171c3540 Refactor OAuth token handling and enhance grant type support
- Consolidated token grant handling into a unified method for authorization code, client credentials, and device code grants, improving code organization and reducing duplication.
- Introduced new methods for handling token exchange and refresh token grants, ensuring compliance with relevant RFCs.
- Enhanced error handling and validation for client credentials and grant types, improving robustness and security.
- Updated tests to utilize real authorization codes and ensure comprehensive coverage of the new functionality.
2025-07-21 17:40:08 +08:00
..
providers Enhance client creation and dynamic registration in OAuth service 2025-07-18 14:51:34 +08:00
types Enhance OAuth configuration types with optional defaults 2025-07-18 17:05:13 +08:00
client.go Enhance client creation and dynamic registration in OAuth service 2025-07-18 14:51:34 +08:00
client_test.go Add tests for dynamic client registration validation in OAuth service 2025-07-18 14:58:29 +08:00
core.go Refactor OAuth token handling and enhance grant type support 2025-07-21 17:40:08 +08:00
core_test.go Refactor OAuth token handling and enhance grant type support 2025-07-21 17:40:08 +08:00
device.go Remove deprecated OAuth interfaces and types 2025-07-17 17:19:22 +08:00
discovery.go Implement dynamic client registration and enhance OAuth service functionality 2025-07-18 12:11:21 +08:00
guard.go Implement system store management and enhance store loading functionality 2025-07-20 11:23:00 +08:00
mcp.go Remove deprecated OAuth interfaces and types 2025-07-17 17:19:22 +08:00
oauth.go Implement dynamic client registration and enhance OAuth service functionality 2025-07-18 12:11:21 +08:00
oauth_test.go Add tests for dynamic client registration validation in OAuth service 2025-07-18 14:58:29 +08:00
security.go Implement dynamic client registration and enhance OAuth service functionality 2025-07-18 12:11:21 +08:00
security_test.go Add user and security tests 2025-07-18 15:48:50 +08:00
TESTING_GUIDE.md Refactor OAuth service to improve client registration and user management 2025-07-18 14:28:44 +08:00
token.go Refactor OAuth token handling and enhance grant type support 2025-07-21 17:40:08 +08:00
token_test.go Refactor OAuth token handling and enhance grant type support 2025-07-21 17:40:08 +08:00
user.go Add user and security tests 2025-07-18 15:48:50 +08:00
user_test.go Add user and security tests 2025-07-18 15:48:50 +08:00