jojo/services/auth/source/oauth2
Gusted 77dbc35138 chore: add modernizer linter (#11936)
- Go has a suite of small linters that helps with modernizing Go code by using newer functions and catching small mistakes, https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/modernize.
- Enable this linter in golangci-lint.
- There's also [`go fix`](https://go.dev/blog/gofix), which is not yet released as a linter in golangci-lint: https://github.com/golangci/golangci-lint/pull/6385

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11936
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2026-04-02 03:29:37 +02:00
..
assert_interface_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
init.go feat: add OIDC workload identity federation support (#10481) 2026-01-15 03:39:00 +01:00
providers.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
providers_base.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
providers_custom.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
providers_openid.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
providers_simple.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
source.go feat: allow sync quota groups with oauth2 auth source (#8554) 2025-12-01 14:12:00 +01:00
source_authenticate.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
source_callout.go feat: implement PKCE when acting as oauth2 client (for user login) 2024-04-29 11:20:26 +02:00
source_name.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_register.go Handle OpenID discovery URL errors a little nicer when creating/editing sources (#23397) 2023-03-10 01:14:43 -05:00
store.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
token.go chore: Add JWT() method for convenience and clarity (#11067) 2026-02-07 01:01:30 +01:00
urlmapping.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00