Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ DocIDForRole
Method
DocIDForRole
auth/auth.go:979–981 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
977
}
978
979
func
(a *Authenticator) DocIDForRole(name string) string {
980
return
a.MetaKeys.RoleKey(name)
981
}
982
983
func
(a *Authenticator) DocIDForUserEmail(email string) string {
984
return
a.MetaKeys.UserEmailKey(email)
Callers
6
NewRole
Method · 0.95
NewRoleNoChannels
Method · 0.95
GetRoleIncDeleted
Method · 0.95
InvalidateChannels
Method · 0.95
TestRoleKeysHash
Function · 0.80
TestInvalidateChannels
Function · 0.80
Calls
1
RoleKey
Method · 0.80
Tested by
2
TestRoleKeysHash
Function · 0.64
TestInvalidateChannels
Function · 0.64