mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add external-auth cli (#10052)
* feat: add `external-auth` cli * Add subcommands * Improve descriptions * Add external-auth subcommand * Fix docs * Fix gen * Fix comment * Fix golden file
This commit is contained in:
@@ -812,7 +812,9 @@ func New(options *Options) *API {
|
||||
r.Patch("/startup-logs", api.patchWorkspaceAgentLogsDeprecated)
|
||||
r.Patch("/logs", api.patchWorkspaceAgentLogs)
|
||||
r.Post("/app-health", api.postWorkspaceAppHealth)
|
||||
// Deprecated: Required to support legacy agents
|
||||
r.Get("/gitauth", api.workspaceAgentsGitAuth)
|
||||
r.Get("/external-auth", api.workspaceAgentsExternalAuth)
|
||||
r.Get("/gitsshkey", api.agentGitSSHKey)
|
||||
r.Get("/coordinate", api.workspaceAgentCoordinate)
|
||||
r.Post("/report-stats", api.workspaceAgentReportStats)
|
||||
|
||||
Reference in New Issue
Block a user