MCPcopy Create free account
hub / github.com/53AI/53AIHub / ListOwnedAPIKeys

Method ListOwnedAPIKeys

api/service/mcp/key_service.go:35–37  ·  view source on GitHub ↗
(ctx context.Context, eid, userID int64)

Source from the content-addressed store, hash-verified

33}
34
35func (s *APIKeyService) ListOwnedAPIKeys(ctx context.Context, eid, userID int64) ([]model.APIKey, error) {
36 return model.GetAPIKeysByEidAndCreatorID(eid, userID)
37}
38
39func (s *APIKeyService) GetOwnedAPIKey(ctx context.Context, eid, userID, keyID int64) (*model.APIKey, error) {
40 return model.GetAPIKeyByIDAndCreatorID(eid, userID, keyID)

Callers 1

registerMCPKeyToolsFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected