ParseOrganizationClaims takes claims from an OIDC provider, and returns the organization sync params for assigning users into organizations.
(ctx context.Context, mergedClaims jwt.MapClaims)
| 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) |
| 37 | // SyncOrganizations assigns and removed users from organizations based on the |
| 38 | // provided params. |
| 39 | SyncOrganizations(ctx context.Context, tx database.Store, user database.User, params OrganizationParams) error |
no outgoing calls