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

Method SyncGroups

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

SyncGroups assigns and removes users from groups based on the provided params.

(ctx context.Context, db database.Store, user database.User, params GroupParams)

Source from the content-addressed store, hash-verified

44 ParseGroupClaims(ctx context.Context, mergedClaims jwt.MapClaims) (GroupParams, *HTTPError)
45 // SyncGroups assigns and removes users from groups based on the provided params.
46 SyncGroups(ctx context.Context, db database.Store, user database.User, params GroupParams) error
47 // GroupSyncSettings is exposed for the API to implement CRUD operations
48 // on the settings used by IDPSync. This entry is thread safe and can be
49 // accessed concurrently. The settings are stored in the database.

Callers 3

oauthLoginMethod · 0.65
TestGroupSyncTableFunction · 0.65
TestSyncDisabledFunction · 0.65

Implementers 1

AGPLIDPSynccoderd/idpsync/idpsync.go

Calls

no outgoing calls

Tested by 2

TestGroupSyncTableFunction · 0.52
TestSyncDisabledFunction · 0.52