ParseGroupClaims takes claims from an OIDC provider, and returns the params for group syncing. Most of the logic happens in SyncGroups.
(ctx context.Context, mergedClaims jwt.MapClaims)
| 42 | // ParseGroupClaims takes claims from an OIDC provider, and returns the params |
| 43 | // for group syncing. Most of the logic happens in SyncGroups. |
| 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 |
no outgoing calls