(ctx context.Context, id uuid.UUID)
| 2144 | } |
| 2145 | |
| 2146 | func (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 | |
| 2153 | func (q *querier) DeleteOAuth2ProviderAppTokensByAppAndUserID(ctx context.Context, arg database.DeleteOAuth2ProviderAppTokensByAppAndUserIDParams) error { |
| 2154 | if err := q.authorizeContext(ctx, policy.ActionDelete, |
nothing calls this directly
no test coverage detected