yao/openapi/oauth
Max 7e8d4a9ba9 Enhance OAuth token management with PKCE support and refactor tests
- Updated OAuth token handling to include PKCE (Proof Key for Code Exchange) parameters, improving security for authorization code grants.
- Refactored token management tests to incorporate PKCE code verifier and challenge, ensuring compliance with OAuth 2.1 standards.
- Enhanced refresh token handling to validate requested scopes against originally granted scopes, improving security and compliance.
- Updated various methods to support optional scope parameters, streamlining token management and validation processes.
- Improved test coverage for token introspection and exchange scenarios, ensuring robust validation of token handling logic.
2025-07-22 12:55:44 +08:00
..
providers Refactor OAuth token management tests and remove deprecated methods 2025-07-21 18:59:26 +08:00
types Enhance OAuth token management with PKCE support and refactor tests 2025-07-22 12:55:44 +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 Enhance OAuth token management with PKCE support and refactor tests 2025-07-22 12:55:44 +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 hello world endpoints and add OAuth protection 2025-07-21 18:49:20 +08:00
mcp.go Remove deprecated OAuth interfaces and types 2025-07-17 17:19:22 +08:00
oauth.go Enhance OAuth test setup with reusable certificate management 2025-07-21 19:44:00 +08:00
oauth_test.go Enhance OAuth test setup with reusable certificate management 2025-07-21 19:44:00 +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 Enhance OAuth token management with PKCE support and refactor tests 2025-07-22 12:55:44 +08:00
user.go Add user and security tests 2025-07-18 15:48:50 +08:00
user_test.go Refactor OAuth token management tests and remove deprecated methods 2025-07-21 18:59:26 +08:00