MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / VerifyAccount

Method VerifyAccount

agent/app/service/agents.go:1259–1262  ·  view source on GitHub ↗
(req dto.AgentAccountVerifyReq)

Source from the content-addressed store, hash-verified

1257}
1258
1259func (a AgentService) VerifyAccount(req dto.AgentAccountVerifyReq) error {
1260 _, err := resolveAgentAccountInput(req.Provider, req.APIKey, req.BaseURL)
1261 return err
1262}
1263
1264func (a AgentService) DeleteAccount(req dto.AgentAccountDeleteReq) error {
1265 if exists, _ := agentRepo.GetFirst(repo.WithByAccountID(req.ID)); exists != nil && exists.ID > 0 {

Callers

nothing calls this directly

Calls 1

resolveAgentAccountInputFunction · 0.85

Tested by

no test coverage detected