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

Method GetAccountByPassword

clientapi/auth/auth.go:45–45  ·  view source on GitHub ↗
(ctx context.Context, localpart, password string)

Source from the content-addressed store, hash-verified

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
48// VerifyUserFromRequest authenticates the HTTP request,

Callers 2

LoginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected