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

Method OrganizationSyncEnabled

coderd/idpsync/idpsync.go:33–33  ·  view source on GitHub ↗

OrganizationSyncEnabled returns true if all OIDC users are assigned to organizations via org sync settings. This is used to know when to disable manual org membership assignment.

(ctx context.Context, db database.Store)

Source from the content-addressed store, hash-verified

31 // to organizations via org sync settings.
32 // This is used to know when to disable manual org membership assignment.
33 OrganizationSyncEnabled(ctx context.Context, db database.Store) bool
34 // ParseOrganizationClaims takes claims from an OIDC provider, and returns the
35 // organization sync params for assigning users into organizations.
36 ParseOrganizationClaims(ctx context.Context, mergedClaims jwt.MapClaims) (OrganizationParams, *HTTPError)

Callers 2

TestOrganizationSyncFunction · 0.65

Implementers 1

AGPLIDPSynccoderd/idpsync/idpsync.go

Calls

no outgoing calls

Tested by 1

TestOrganizationSyncFunction · 0.52