yao/openapi/tests/oauth
Max b68660b3cd Enhance OAuth token handling and refresh logic
- Update the `Authenticate` method in the OAuth guard to allow for token refresh when an access token is expired but still valid.
- Introduce `TryRefreshToken` method to handle the refresh token logic, including token rotation and cookie management.
- Implement `VerifyTokenAllowExpired` and `VerifyRefreshToken` methods to improve token verification processes.
- Adjust error handling to provide clearer responses for token refresh failures.
- Refactor token expiration strategies in the login process to ensure consistent handling of access and refresh tokens.
2026-02-21 18:06:27 +08:00
..
acl Enhance member management with member_id and email checks 2025-10-26 09:49:45 +08:00
authorized_test.go Add Yao authentication source and OAuth email handling 2026-02-07 19:44:10 +08:00
guard_test.go Enhance OAuth token handling and refresh logic 2026-02-21 18:06:27 +08:00
oauth_test.go Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00
token_test.go Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00