yao/sui/api
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
..
api.go Enhance API Guards and Documentation 2026-01-04 16:40:23 +08:00
build_test.go Optimize $backend function call 2024-08-04 11:40:15 +08:00
guards.go Enhance OAuth token handling and refresh logic 2026-02-21 18:06:27 +08:00
process.go [feat] add SUI template.render process 2024-08-10 16:58:38 +08:00
process_test.go fix sui test cases 2024-07-17 16:44:42 +08:00
render.go feat: Enhance global build context and component handling 2025-04-23 16:08:10 +08:00
render_test.go Improve SUI TemplateRender 2024-08-10 19:34:36 +08:00
request.go Enhance guard handling and template configuration merging 2026-02-15 16:34:31 +08:00
request_test.go [feat] SUI support BeforeRender hook for dataset processing, and deprecating the s:set method. 2024-07-25 17:56:40 +08:00
run.go Implement dynamic route resolution using rewrite rules 2026-02-13 23:44:28 +08:00
sui.go Refactor SUI Command Arguments and Enhance Default Template Handling 2026-01-01 10:28:45 +08:00
sui_test.go feat: output warning messages during sui page build 2024-07-09 05:56:29 +08:00