yao/openapi/oauth/types
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
..
authorized.go Normalize request paths in ACL checks and add path normalization utility 2025-10-23 10:48:53 +08:00
authorized_test.go Implement authorized script execution and enhance context handling 2025-12-08 11:42:01 +08:00
errors.go Enhance OAuth token handling and refresh logic 2026-02-21 18:06:27 +08:00
interfaces.go Implement robot member update functionality with comprehensive validation 2025-10-27 12:05:11 +08:00
oidc.go Add Yao authentication source and OAuth email handling 2026-02-07 19:44:10 +08:00
types.go Add Yao authentication source and OAuth email handling 2026-02-07 19:44:10 +08:00
utils.go Implement dynamic client registration and enhance OAuth service functionality 2025-07-18 12:11:21 +08:00