yao/openapi/oauth/providers
Max 5301023cf2 Refactor user provider methods to return string IDs and update test data handling
- Updated GetUserProvider to return an error alongside the user provider for better error handling.
- Modified CreateUser, CreateRole, and CreateType methods to return user and role IDs as strings instead of interfaces, enhancing type safety.
- Adjusted test data setup in oauth_test.go to reflect changes in user ID handling and ensure compatibility with the updated user provider interface.
- Removed unnecessary nil checks and improved assertions in tests for clarity and reliability.
2025-08-03 10:25:09 +08:00
..
client Enhance client creation and dynamic registration in OAuth service 2025-07-18 14:51:34 +08:00
user Refactor user provider methods to return string IDs and update test data handling 2025-08-03 10:25:09 +08:00