gogcli/internal/googleauth
Dalton Alexandre 1216e6282f feat(admin): add user and group management via Admin Directory API
Implements Google Admin SDK Directory API support for Workspace user and

group management with domain-wide delegation.

New commands:

- gog admin users list --domain example.com

- gog admin users get user@example.com

- gog admin users create user@example.com --given John --family Doe

- gog admin users suspend user@example.com

- gog admin groups list --domain example.com

- gog admin groups members list group@example.com

- gog admin groups members add group@example.com user@example.com --role MEMBER

- gog admin groups members remove group@example.com user@example.com

Closes #340

Note: This is a focused implementation of core user/group management.

For full GAM feature parity (PR #179), additional work would be needed

for: alerts, licenses, org units, printers, reports, vault, SSO, etc.
2026-03-08 02:29:47 +00:00
..
templates fix(auth): correct gmail search example in success template 2026-01-19 22:01:41 +01:00
accounts_server_more_test.go feat(auth): add multi-org login 2026-01-22 04:04:14 +00:00
accounts_server_test.go feat(auth): add multi-org login 2026-01-22 04:04:14 +00:00
accounts_server.go fix(ci): clear pre-existing lint baseline and docs updates 2026-03-03 04:06:29 +00:00
manual_state_test.go feat(auth): add --redirect-uri to remote/manual oauth flow 2026-03-08 00:59:23 +00:00
manual_state.go fix(auth): use non-privileged port for manual OAuth redirect (#172) 2026-02-14 18:23:52 +01:00
oauth_flow_authorize_test.go test(auth): satisfy oauth redirect lint rules (#398) (thanks @salmonumbrella) 2026-03-08 00:59:23 +00:00
oauth_flow_manual_redirect.go feat(auth): add --redirect-uri to remote/manual oauth flow 2026-03-08 00:59:23 +00:00
oauth_flow_manual.go feat(auth): add --redirect-uri to remote/manual oauth flow 2026-03-08 00:59:23 +00:00
oauth_flow_more_test.go test(auth): satisfy oauth redirect lint rules (#398) (thanks @salmonumbrella) 2026-03-08 00:59:23 +00:00
oauth_flow.go feat(auth): add --redirect-uri to remote/manual oauth flow 2026-03-08 00:59:23 +00:00
open_browser_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
open_browser.go fix(ci): clear pre-existing lint baseline and docs updates 2026-03-03 04:06:29 +00:00
service_test.go feat(admin): add user and group management via Admin Directory API 2026-03-08 02:29:47 +00:00
service.go feat(admin): add user and group management via Admin Directory API 2026-03-08 02:29:47 +00:00
templates_embed_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00
templates_embed.go refactor(auth): consolidate success templates into one 2025-12-31 13:19:01 +01:00
token_check_test.go feat(auth): add multi-org login 2026-01-22 04:04:14 +00:00
token_check.go feat(auth): add multi-org login 2026-01-22 04:04:14 +00:00
token_email.go feat(auth): add multi-org login 2026-01-22 04:04:14 +00:00
wait_post_success_test.go chore: tighten lint rules and fix findings 2025-12-31 19:47:32 +01:00