yao/openapi/oauth/acl
Max 0bd6bdcda3 Refactor OAuth guard and ACL error handling for improved response structure
- Updated the OAuth guard to utilize a standardized response format for error handling, enhancing consistency across error responses.
- Integrated detailed error information for insufficient scope and permission denied scenarios, providing clearer insights into access issues.
- Modified the ACL enforcement logic to return structured error details, allowing for better handling of permission-related errors.
- Enhanced the ErrorResponse struct to include optional fields for reason, required scopes, and missing scopes, following OAuth 2.0 extensibility guidelines.
2025-10-20 16:23:12 +08:00
..
acl.go Enhance OAuth guard with authorized info handling and ACL integration 2025-10-20 08:50:20 +08:00
enforce.go Refactor OAuth guard and ACL error handling for improved response structure 2025-10-20 16:23:12 +08:00
errors.go Add ACL support to OAuth guard and error handling 2025-10-18 09:22:35 +08:00
interfaces.go Add ACL support to OAuth guard and error handling 2025-10-18 09:22:35 +08:00
scope.go Enhance OAuth guard with authorized info handling and ACL integration 2025-10-20 08:50:20 +08:00
types.go Enhance OAuth guard with authorized info handling and ACL integration 2025-10-20 08:50:20 +08:00