MCPcopy Create free account
hub / github.com/supabase/auth / isUsingTokenHash

Function isUsingTokenHash

internal/api/verify.go:805–807  ·  view source on GitHub ↗
(params *VerifyParams)

Source from the content-addressed store, hash-verified

803}
804
805func isUsingTokenHash(params *VerifyParams) bool {
806 return params.TokenHash != "" && params.Token == "" && params.Phone == "" && params.Email == ""
807}
808
809// emailAddressChanged checks if the email address has changed, ensuring neither is empty
810func emailAddressChanged(oldEmail, newEmail string) bool {

Callers 1

verifyPostMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected