grafana/pkg/services/auth
Sofia Papagiannaki 8b77ee2734
SQLStore: Ensure that sessions are always closed (#55864)
* SQLStore: Ensure that sessions are always closed

Delete `NewSession()` in favour of `WithDbSession()`

* Add WithDbSessionForceNewSession to the interface

* Apply suggestions from code review
2022-09-29 15:55:47 +03:00
..
jwt Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
auth_token_test.go SQLStore: Ensure that sessions are always closed (#55864) 2022-09-29 15:55:47 +03:00
auth_token.go Logging: Introduce API for contextual logging (#55198) 2022-09-20 18:32:06 +02:00
model.go Auth: Allow soft token revocation (#31601) 2021-03-16 17:44:02 +01:00
testing.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
token_cleanup_test.go SQLStore: Ensure that sessions are always closed (#55864) 2022-09-29 15:55:47 +03:00
token_cleanup.go Chore: Add context to user (#39649) 2021-10-04 15:46:09 +02:00