databricks-cli/libs/auth
Pieter Noordhuis 3270afaff4
Move utility functions dealing with IAM to libs/iamutil (#1820)
## Changes

The two functions `GetShortUserName` and `IsServicePrincipal` are
unrelated to auth or the purpose of the auth package. This change moves
them into their own package and updates `IsServicePrincipal` to take an
`*iam.User` argument instead of a string username.

## Tests

Tests pass.
2024-10-10 13:02:25 +00:00
..
cache Improve token refresh flow (#1434) 2024-05-16 10:22:09 +00:00
callback.go Added `bricks auth login` and `bricks auth token` (#158) 2023-01-06 16:15:57 +01:00
oauth.go Fix host resolution order in `auth login` (#1370) 2024-08-14 13:01:00 +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