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

Method DeleteOAuth2ProviderAppSecretByID

coderd/database/dbauthz/dbauthz.go:2146–2151  ·  view source on GitHub ↗
(ctx context.Context, id uuid.UUID)

Source from the content-addressed store, hash-verified

2144}
2145
2146func (q *querier) DeleteOAuth2ProviderAppSecretByID(ctx context.Context, id uuid.UUID) error {
2147 if err := q.authorizeContext(ctx, policy.ActionDelete, rbac.ResourceOauth2AppSecret); err != nil {
2148 return err
2149 }
2150 return q.db.DeleteOAuth2ProviderAppSecretByID(ctx, id)
2151}
2152
2153func (q *querier) DeleteOAuth2ProviderAppTokensByAppAndUserID(ctx context.Context, arg database.DeleteOAuth2ProviderAppTokensByAppAndUserIDParams) error {
2154 if err := q.authorizeContext(ctx, policy.ActionDelete,

Callers

nothing calls this directly

Calls 2

authorizeContextMethod · 0.95

Tested by

no test coverage detected