MCPcopy
hub / github.com/pocketbase/pocketbase / SetVerified

Method SetVerified

core/record_model_auth.go:31–33  ·  view source on GitHub ↗

SetVerified sets the "verified" record field value (usually available with Auth collections).

(verified bool)

Source from the content-addressed store, hash-verified

29
30// SetVerified sets the "verified" record field value (usually available with Auth collections).
31func (m *Record) SetVerified(verified bool) {
32 m.Set(FieldNameVerified, verified)
33}
34
35// TokenKey returns the "tokenKey" record field value (usually available with Auth collections).
36func (m *Record) TokenKey() string {

Callers 11

TestRecordVerifiedFunction · 0.95
TestRecordAuthWithOTPFunction · 0.80
oauth2SubmitFunction · 0.80
recordCreateFunction · 0.80
recordAuthWithOTPFunction · 0.80
recordConfirmEmailChangeFunction · 0.80

Calls 1

SetMethod · 0.95

Tested by 4

TestRecordVerifiedFunction · 0.76
TestRecordAuthWithOTPFunction · 0.64