yao/openapi
Max 55931bb59b Add OAuth token revocation and introspection tests
- Implemented comprehensive tests for the OAuth token revocation and introspection endpoints, ensuring correct handling of valid, invalid, and missing token scenarios.
- Enhanced the oauthRevoke and oauthIntrospect methods to comply with RFC specifications, returning appropriate status codes and responses.
- Introduced a utility function for obtaining access tokens directly in tests, streamlining the testing process for OAuth endpoints.
- Improved error handling and logging for better debugging and verification during tests.
2025-07-21 17:57:34 +08:00
..
agent Update dependencies in go.mod and go.sum to latest versions for improved stability and performance 2025-07-13 09:15:54 +08:00
audit Update dependencies in go.mod and go.sum to latest versions for improved stability and performance 2025-07-13 09:15:54 +08:00
docs Add OpenAPI support and enhance configuration handling 2025-07-20 18:52:30 +08:00
job Update dependencies in go.mod and go.sum to latest versions for improved stability and performance 2025-07-13 09:15:54 +08:00
kb Update dependencies in go.mod and go.sum to latest versions for improved stability and performance 2025-07-13 09:15:54 +08:00
oauth Refactor OAuth token handling and enhance grant type support 2025-07-21 17:40:08 +08:00
config.go Add OpenAPI support and enhance configuration handling 2025-07-20 18:52:30 +08:00
config_test.go Implement JSON marshaling and unmarshaling for configuration with duration parsing 2025-07-20 17:49:01 +08:00
hello.go Add OpenAPI support and enhance configuration handling 2025-07-20 18:52:30 +08:00
hello_test.go Implement OAuth endpoint logic and enhance test setup 2025-07-21 15:34:13 +08:00
oauth.go Add OAuth token revocation and introspection tests 2025-07-21 17:57:34 +08:00
oauth_test.go Add OAuth authorization tests and improve error handling 2025-07-21 16:21:40 +08:00
oauth_token_test.go Add OAuth token revocation and introspection tests 2025-07-21 17:57:34 +08:00
openapi.go Refactor OAuth endpoint structure and add well-known handlers 2025-07-20 19:11:16 +08:00
openapi_test.go Add OAuth token revocation and introspection tests 2025-07-21 17:57:34 +08:00
README.md Update dependencies in go.mod and go.sum to latest versions for improved stability and performance 2025-07-13 09:15:54 +08:00
response.go Enhance OAuth functionality with registration tests and response improvements 2025-07-21 16:07:40 +08:00
types.go Implement JSON marshaling and unmarshaling for configuration with duration parsing 2025-07-20 17:49:01 +08:00
well-known.go Refactor OAuth endpoint structure and add well-known handlers 2025-07-20 19:11:16 +08:00

Yao OpenAPI

OAuth

Agent

Knowledge Base

Audit Log