MCPcopy Index your code
hub / github.com/tinode/chat / Check

Method Check

server/validate/validator.go:48–48  ·  view source on GitHub ↗

Check checks validity of user's response. Returns the value of validated credential on success.

(user t.Uid, resp string)

Source from the content-addressed store, hash-verified

46 // Check checks validity of user's response.
47 // Returns the value of validated credential on success.
48 Check(user t.Uid, resp string) (string, error)
49
50 // Remove deletes or deactivates user's given value.
51 Remove(user t.Uid, value string) error

Callers 1

validatedCredsFunction · 0.65

Implementers 2

validatorserver/validate/email/validate.go
validatorserver/validate/tel/validate.go

Calls

no outgoing calls

Tested by

no test coverage detected