databricks-cli/libs/auth
shreyas-goenka cb3ad737f1
Add short_name helper function to bundle init templates (#1167)
## Changes
Adds the short_name helper function. short_name is useful when templates
do not want to print the full userName (typically email or service
principal application-id) of the current user.

## Tests
Integration test. Also adds integration tests for other helper functions
that interact with the Databricks API.
2024-02-01 16:46:07 +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 Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
oauth_test.go Added `bricks auth login` and `bricks auth token` (#158) 2023-01-06 16:15:57 +01: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