MCPcopy Create free account
hub / github.com/coder/coder / UnlinkOIDCUsersByIssuerMismatch

Method UnlinkOIDCUsersByIssuerMismatch

coderd/database/dbauthz/dbauthz.go:6527–6532  ·  view source on GitHub ↗
(ctx context.Context, expectedPrefix string)

Source from the content-addressed store, hash-verified

6525}
6526
6527func (q *querier) UnlinkOIDCUsersByIssuerMismatch(ctx context.Context, expectedPrefix string) (int64, error) {
6528 if err := q.authorizeContext(ctx, policy.ActionUpdatePersonal, rbac.ResourceUser); err != nil {
6529 return 0, err
6530 }
6531 return q.db.UnlinkOIDCUsersByIssuerMismatch(ctx, expectedPrefix)
6532}
6533
6534func (q *querier) UnpinChatByID(ctx context.Context, id uuid.UUID) error {
6535 chat, err := q.db.GetChatByID(ctx, id)

Callers

nothing calls this directly

Calls 2

authorizeContextMethod · 0.95

Tested by

no test coverage detected