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

Struct OrganizationSyncSettings

coderd/idpsync/organization.go:201–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201type OrganizationSyncSettings struct {
202 // Field selects the claim field to be used as the created user's
203 // organizations. If the field is the empty string, then no organization updates
204 // will ever come from the OIDC provider.
205 Field string `json:"field"`
206 // Mapping controls how organizations returned by the OIDC provider get mapped
207 Mapping map[string][]uuid.UUID `json:"mapping"`
208 // AssignDefault will ensure all users that authenticate will be
209 // placed into the default organization. This is mostly a hack to support
210 // legacy deployments.
211 AssignDefault bool `json:"assign_default"`
212}
213
214func (s *OrganizationSyncSettings) Set(v string) error {
215 legacyCheck := make(map[string]any)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected