grafana/pkg/api/pluginproxy
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
..
test-data dsproxy: allow multiple access tokens per datasource 2018-06-12 17:39:38 +02:00
ds_auth_provider_test.go Plugins: Fix Azure token provider cache panic and auth param nil value (#34252) 2021-05-18 15:36:58 +02:00
ds_auth_provider.go AzureMonitor: strongly-typed AzureCredentials and correct resolution of auth type and cloud (#36284) 2021-07-05 12:20:12 +02:00
ds_proxy_test.go Chore: Refactor OAuth/social package to service (#35403) 2021-07-07 08:54:17 +02:00
ds_proxy.go Chore: Refactor OAuth/social package to service (#35403) 2021-07-07 08:54:17 +02:00
pluginproxy_test.go Plugins: Support set body content in plugin routes (#32551) 2021-03-31 16:38:35 +02:00
pluginproxy.go Plugins: Support set body content in plugin routes (#32551) 2021-03-31 16:38:35 +02:00
token_provider_azure.go AzureMonitor: strongly-typed AzureCredentials and correct resolution of auth type and cloud (#36284) 2021-07-05 12:20:12 +02:00
token_provider_gce.go AzureMonitor: Use auth middleware for QueryData requests (#35343) 2021-06-11 17:02:24 +02:00
token_provider_generic.go AzureMonitor: Use auth middleware for QueryData requests (#35343) 2021-06-11 17:02:24 +02:00
token_provider_jwt.go AzureMonitor: Use auth middleware for QueryData requests (#35343) 2021-06-11 17:02:24 +02:00
token_provider_test.go AzureMonitor: Use auth middleware for QueryData requests (#35343) 2021-06-11 17:02:24 +02:00
token_provider.go AzureMonitor: Use auth middleware for QueryData requests (#35343) 2021-06-11 17:02:24 +02:00
utils_test.go API: Rewrite tests from goconvey (#29091) 2020-11-17 11:31:35 +01:00
utils.go Plugins: Fix Azure token provider cache panic and auth param nil value (#34252) 2021-05-18 15:36:58 +02:00