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

Method GetAccountByLocalpart

clientapi/auth/auth.go:44–44  ·  view source on GitHub ↗

Look up the account matching the given localpart.

(ctx context.Context, localpart string)

Source from the content-addressed store, hash-verified

42type AccountDatabase interface {
43 // Look up the account matching the given localpart.
44 GetAccountByLocalpart(ctx context.Context, localpart string) (*api.Account, error)
45 GetAccountByPassword(ctx context.Context, localpart, password string) (*api.Account, error)
46}
47

Callers 3

QueryAccessTokenMethod · 0.80
queryAppServiceTokenMethod · 0.80
QueryLoginTokenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected