MCPcopy Create free account
hub / github.com/daodst/chat / fakeUserInternalAPI

Struct fakeUserInternalAPI

clientapi/auth/login_test.go:161–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161type fakeUserInternalAPI struct {
162 UserInternalAPIForLogin
163 DeletedTokens []string
164}
165
166func (ua *fakeUserInternalAPI) QueryAccountByPassword(ctx context.Context, req *uapi.QueryAccountByPasswordRequest, res *uapi.QueryAccountByPasswordResponse) error {
167 if req.PlaintextPassword == "invalidpassword" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected