Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ SetEmail
Method
SetEmail
auth/principal.go:83–83 ·
view source on GitHub ↗
Sets the user's email address.
(string)
Source
from the content-addressed store, hash-verified
81
82
// Sets the user's email address.
83
SetEmail(string) error
84
85
// If true, the user is unable to authenticate.
86
Disabled() bool
Callers
9
TestGetAddedChannels
Function · 0.95
TestValidateUserEmail
Function · 0.95
TestSerializeUser
Function · 0.95
UpdatePrincipal
Method · 0.95
TestGetAllUsers
Function · 0.95
TestUserKeysHash
Function · 0.65
UpdateUserEmail
Method · 0.65
RegisterNewUser
Method · 0.65
TestCASUpdatePrincipal
Function · 0.65
Implementers
1
userImpl
auth/user.go
Calls
no outgoing calls
Tested by
6
TestGetAddedChannels
Function · 0.76
TestValidateUserEmail
Function · 0.76
TestSerializeUser
Function · 0.76
TestGetAllUsers
Function · 0.76
TestUserKeysHash
Function · 0.52
TestCASUpdatePrincipal
Function · 0.52