MCPcopy
hub / github.com/tinode/chat / InfoValidateCredentials

Function InfoValidateCredentials

server/datamodel.go:1048–1050  ·  view source on GitHub ↗

3xx InfoValidateCredentials requires user to confirm credentials before going forward (300).

(id string, ts time.Time)

Source from the content-addressed store, hash-verified

1046
1047// InfoValidateCredentials requires user to confirm credentials before going forward (300).
1048func InfoValidateCredentials(id string, ts time.Time) *ServerComMessage {
1049 return InfoValidateCredentialsExplicitTs(id, ts, ts)
1050}
1051
1052// InfoValidateCredentialsExplicitTs requires user to confirm credentials before going forward
1053// with explicit server and incoming request timestamps (300).

Callers 1

onLoginMethod · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…