yao/openapi/oauth
Max d32b5e4eb6 Enhance user role management functionality and implement role-related methods
- Added role field lists to DefaultUser and DefaultUserOptions for better role configuration.
- Implemented methods for creating, retrieving, updating, and deleting user roles, improving role management capabilities.
- Enhanced error handling for role operations, ensuring robust feedback for failures.
- Introduced ClearUserRole method to remove role assignments from users, streamlining user-role management.
- Updated tests to ensure proper cleanup of role data and maintain a clean testing environment.
2025-08-02 19:27:09 +08:00
..
providers Enhance user role management functionality and implement role-related methods 2025-08-02 19:27:09 +08:00
types Enhance user role management functionality and implement role-related methods 2025-08-02 19:27:09 +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 Enhance OAuth token management with PKCE support and refactor tests 2025-07-22 12:55:44 +08:00
core_test.go Refactor test user model and update subject references in tests 2025-08-02 18:58:23 +08:00
device.go Remove deprecated OAuth interfaces and types 2025-07-17 17:19:22 +08:00
discovery.go Implement JWKS endpoint and enhance OAuth tests 2025-07-21 20:07:46 +08:00
guard.go Refactor OAuth response handling and improve content type management 2025-07-22 15:36:41 +08:00
mcp.go Remove deprecated OAuth interfaces and types 2025-07-17 17:19:22 +08:00
oauth.go Add go-nanoid dependency and refactor user provider methods 2025-08-02 17:49:03 +08:00
oauth_test.go Refactor test user model and update subject references in tests 2025-08-02 18:58:23 +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
signing.go Enhance OAuth token management with PKCE support and refactor tests 2025-07-22 12:55:44 +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 Enhance OAuth token management with PKCE support and refactor tests 2025-07-22 12:55:44 +08:00
token_test.go Refactor test user model and update subject references in tests 2025-08-02 18:58:23 +08:00
user.go Add go-nanoid dependency and refactor user provider methods 2025-08-02 17:49:03 +08:00
user_test.go Refactor OAuth token management tests and remove deprecated methods 2025-07-21 18:59:26 +08:00