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

Method GetExternalAuthLink

coderd/database/dbauthz/dbauthz.go:3419–3421  ·  view source on GitHub ↗
(ctx context.Context, arg database.GetExternalAuthLinkParams)

Source from the content-addressed store, hash-verified

3417}
3418
3419func (q *querier) GetExternalAuthLink(ctx context.Context, arg database.GetExternalAuthLinkParams) (database.ExternalAuthLink, error) {
3420 return fetchWithAction(q.log, q.auth, policy.ActionReadPersonal, q.db.GetExternalAuthLink)(ctx, arg)
3421}
3422
3423func (q *querier) GetExternalAuthLinksByUserID(ctx context.Context, userID uuid.UUID) ([]database.ExternalAuthLink, error) {
3424 return fetchWithPostFilter(q.auth, policy.ActionReadPersonal, q.db.GetExternalAuthLinksByUserID)(ctx, userID)

Callers

nothing calls this directly

Calls 1

fetchWithActionFunction · 0.85

Tested by

no test coverage detected