MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / RevokeAPIKey

Method RevokeAPIKey

database/mocks/repo_mocks.go:581–584  ·  view source on GitHub ↗
(ctx context.Context, id, ownerID string)

Source from the content-addressed store, hash-verified

579}
580
581func (m *MockDataSource) RevokeAPIKey(ctx context.Context, id, ownerID string) error {
582 args := m.Called(ctx, id, ownerID)
583 return args.Error(0)
584}
585
586func (m *MockDataSource) GetAPIKey(ctx context.Context, id string) (*model.APIKey, error) {
587 args := m.Called(ctx, id)

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected