mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-07 17:56:23 +01:00
- set OAuth2 authorization code `ValidUntil` on creation and add expiry checks during exchange - return a specific error when codes are invalidated twice to prevent concurrent reuse - add unit tests covering validity timestamps, expiration, and double invalidation --- Generate by a coding agent with Codex 5.2 --------- Signed-off-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| access_token_scope_test.go | ||
| access_token_scope.go | ||
| access_token_test.go | ||
| access_token.go | ||
| auth_token.go | ||
| main_test.go | ||
| oauth2_list.go | ||
| oauth2_test.go | ||
| oauth2.go | ||
| session.go | ||
| source_test.go | ||
| source.go | ||
| twofactor.go | ||
| webauthn_test.go | ||
| webauthn.go | ||