yao/openapi/tests/oauth/acl
Max 0e260ffb6a Enhance OAuth guard with authorized info handling and ACL integration
- Updated the OAuth guard to set authorized information in the context using the new authorized package.
- Refactored the GetAuthorizedInfo function to utilize the authorized.GetInfo method, improving clarity and maintainability.
- Enhanced the ACL implementation by adding scope resolution logic in the Enforce method, ensuring proper access control based on user roles and scopes.
- Improved error handling and logging during ACL operations, providing better insights into access decisions.
2025-10-20 08:50:20 +08:00
..
acl_test.go Enhance OAuth guard with authorized info handling and ACL integration 2025-10-20 08:50:20 +08:00
enforce_test.go Enhance OAuth guard with authorized info handling and ACL integration 2025-10-20 08:50:20 +08:00
scope_atomic_test.go Enhance OAuth guard with authorized info handling and ACL integration 2025-10-20 08:50:20 +08:00
scope_test.go Enhance OAuth guard with authorized info handling and ACL integration 2025-10-20 08:50:20 +08:00