grafana/pkg/services/contexthandler
Jguer 6891bbf03c
ServiceAccounts: Add identifiable token prefix to service account tokens (#49011)
* Add prefixed API key gen.

* Retrieve API Key by hash

* Handle prefixed API keys for login

* Add placeholder key generator

* fix spelling

* add get by hash sqlstore test

* reformat query

* quote usage of reserved keyword key

* use constant

* improve error handling and pre-select key type

Co-authored-by: Victor Cinaglia <victor@grafana.com>

* nits

Co-authored-by: Victor Cinaglia <victor@grafana.com>
2022-05-23 13:14:38 +02:00
..
authproxy Chore: Remove bus from authproxy (#46936) 2022-03-30 17:01:24 +02:00
ctxkey pkg/web: restrict handler types (#48495) 2022-05-20 12:45:18 -04:00
auth_jwt.go Chore: Remove bus from contexthandler (#47458) 2022-04-08 10:33:19 +02:00
auth_proxy_test.go Chore: Remove bus from contexthandler (#47458) 2022-04-08 10:33:19 +02:00
contexthandler_test.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
contexthandler.go ServiceAccounts: Add identifiable token prefix to service account tokens (#49011) 2022-05-23 13:14:38 +02:00