GoToSocial/internal/api/auth
kim f79d50b9b2
[performance] cached oauth database types (#2838)
* update token + client code to use struct caches

* add code comments

* slight tweak to default mem ratios

* fix envparsing

* add appropriate invalidate hooks

* update the tokenstore sweeping function to rely on caches

* update to use PutClient()

* add ClientID to list of token struct indices
2024-04-15 14:22:21 +01:00
..
auth.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
auth_test.go [bugfix] process account delete side effects in serial, not in parallel (#2360) 2023-11-14 15:57:25 +01:00
authorize.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
authorize_test.go [chore] Use generic pointer function (#2080) 2023-08-07 18:38:11 +01:00
callback.go [feature/oidc] Add support for very basic RBAC (#2642) 2024-02-27 16:07:29 +01:00
callback_test.go [feature/oidc] Add support for very basic RBAC (#2642) 2024-02-27 16:07:29 +01:00
oob.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
signin.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
token.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
token_test.go [chore/bugfix/horror] Allow `expires_in` and poll choices to be parsed from strings (#2346) 2023-11-10 16:42:48 +00:00