gitea/models/auth
silverwind aba87285f0
Remove dead code identified by `deadcode` tool (#37271)
Ran [`deadcode`](https://pkg.go.dev/golang.org/x/tools/cmd/deadcode)
(`-test ./...`) to find functions, methods and error types unreachable
from any call path (including tests), and removed the truly-dead ones.

Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
2026-04-20 07:52:48 +00:00
..
access_token.go Remove error returns from crypto random helpers and callers (#37240) 2026-04-17 00:59:26 +08:00
access_token_scope.go
access_token_scope_test.go
access_token_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
auth_token.go
main_test.go
oauth2.go Remove error returns from crypto random helpers and callers (#37240) 2026-04-17 00:59:26 +08:00
oauth2_list.go
oauth2_test.go Fix OAuth2 authorization code expiry and reuse handling (#36797) 2026-03-06 05:00:44 +00:00
session.go Refactor db package (#35380) 2025-08-30 01:04:06 +08:00
source.go Fix various trivial problems (#36953) 2026-03-23 18:23:42 +00:00
source_test.go Fix various trivial problems (#36953) 2026-03-23 18:23:42 +00:00
twofactor.go Remove error returns from crypto random helpers and callers (#37240) 2026-04-17 00:59:26 +08:00
webauthn.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
webauthn_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00