gotosocial/internal/oauth
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
..
clientstore_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
clientstore.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
errors.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
oauth_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
server.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
tokenstore_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
tokenstore.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
util.go [feature] add authorization to the already-existing authentication (#365) 2022-02-07 12:04:31 +01:00