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

Method organizationIDPSyncClaimFields

enterprise/coderd/idpsync.go:744–747  ·  view source on GitHub ↗

@Summary Get the available organization idp sync claim fields @ID get-the-available-organization-idp-sync-claim-fields @Security CoderSessionToken @Produce json @Tags Enterprise @Param organization path string true "Organization ID" format(uuid) @Success 200 {array} string @Router /api/v2/organizati

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

Source from the content-addressed store, hash-verified

742// @Success 200 {array} string
743// @Router /api/v2/organizations/{organization}/settings/idpsync/available-fields [get]
744func (api *API) organizationIDPSyncClaimFields(rw http.ResponseWriter, r *http.Request) {
745 org := httpmw.OrganizationParam(r)
746 api.idpSyncClaimFields(org.ID, rw, r)
747}
748
749// @Summary Get the available idp sync claim fields
750// @ID get-the-available-idp-sync-claim-fields

Callers

nothing calls this directly

Calls 2

idpSyncClaimFieldsMethod · 0.95
OrganizationParamFunction · 0.92

Tested by

no test coverage detected