grafana/pkg/infra
idafurjes 60ac54d969
Chore: Refactor OAuth/social package to service (#35403)
* Creating SocialService

* Add GetOAuthProviders as socialService method

* Add OAuthTokenService

* Add GetOAuthHttpClient method to SocialService

* Rename services, access socialMap from GetConnector

* Fix tests by mocking oauthtoken methods

* Move NewAuthService into Init

* Move OAuthService to social pkg

* Refactor OAuthService to OAuthProvider

* Fix nil map error, rename file, simplify tests

* Fix bug for Forward OAuth Identify

* Remove file after rebase
2021-07-07 08:54:17 +02:00
..
fs use absolute path when getting grafana path; add test for directory (#36001) 2021-07-06 11:28:02 -05:00
httpclient HTTP Client: Introduce go-conntrack into http client provider (#35314) 2021-06-09 18:13:21 +02:00
localcache codestyle: moves cache to infra (#17519) 2019-06-13 10:55:38 +02:00
log MuxWriter: Handle error for already closed file (#31119) 2021-02-11 10:34:51 +01:00
metrics remove incorrect use of grafana-cli logger (#35228) 2021-06-04 11:06:34 +02:00
network Backend: fix IPv6 address parsing erroneous (#28585) 2020-11-25 07:55:22 +01:00
remotecache Instrumentation: Start tracing database requests (#34572) 2021-05-27 13:55:33 +02:00
serverlock Backend: Rename variables for style conformance (#29097) 2020-11-17 17:09:14 +01:00
tracing Enable tracing when jaeger host and port are set (#33682) 2021-05-05 11:34:13 +02:00
usagestats Chore: Refactor OAuth/social package to service (#35403) 2021-07-07 08:54:17 +02:00