MCPcopy Index your code
hub / github.com/coder/coder / deploymentIDPSyncClaimFieldValues

Method deploymentIDPSyncClaimFieldValues

enterprise/coderd/idpsync.go:806–809  ·  view source on GitHub ↗

@Summary Get the idp sync claim field values @ID get-the-idp-sync-claim-field-values @Security CoderSessionToken @Produce json @Tags Enterprise @Param organization path string true "Organization ID" format(uuid) @Param claimField query string true "Claim Field" format(string) @Success 200 {array} st

(rw http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

804// @Success 200 {array} string
805// @Router /api/v2/settings/idpsync/field-values [get]
806func (api *API) deploymentIDPSyncClaimFieldValues(rw http.ResponseWriter, r *http.Request) {
807 // nil uuid implies all organizations
808 api.idpSyncClaimFieldValues(uuid.Nil, rw, r)
809}
810
811func (api *API) idpSyncClaimFieldValues(orgID uuid.UUID, rw http.ResponseWriter, r *http.Request) {
812 ctx := r.Context()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected