databricks-cli/libs/auth
Serge Smertin 945d522dab
Propagate correct `User-Agent` for CLI (#1264)
## Changes
This PR migrates `databricks auth login` HTTP client to the one from Go
SDK, making API calls more robust and containing our unified user agent.

## Tests
Unit tests left almost unchanged
2024-03-11 22:24:23 +00:00
..
cache Added `bricks auth login` and `bricks auth token` (#158) 2023-01-06 16:15:57 +01:00
callback.go Added `bricks auth login` and `bricks auth token` (#158) 2023-01-06 16:15:57 +01:00
oauth.go Propagate correct `User-Agent` for CLI (#1264) 2024-03-11 22:24:23 +00:00
oauth_test.go Propagate correct `User-Agent` for CLI (#1264) 2024-03-11 22:24:23 +00:00
page.tmpl Fix link to workspace after AWS OAuth login (#234) 2023-03-08 11:56:46 +01:00
service_principal.go Fix IsServicePrincipal() only working for workspace admins (#732) 2023-09-05 11:20:55 +00:00
service_principal_test.go Fix IsServicePrincipal() only working for workspace admins (#732) 2023-09-05 11:20:55 +00:00
user.go Add short_name helper function to bundle init templates (#1167) 2024-02-01 16:46:07 +00:00
user_test.go Add short_name helper function to bundle init templates (#1167) 2024-02-01 16:46:07 +00:00