MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / DocIDForSession

Method DocIDForSession

auth/auth.go:987–989  ·  view source on GitHub ↗
(sessionID string)

Source from the content-addressed store, hash-verified

985}
986
987func (a *Authenticator) DocIDForSession(sessionID string) string {
988 return a.MetaKeys.SessionKey(sessionID)
989}
990
991func GetExplicitCollectionChannelsForAuditEvent(collAccess map[string]map[string]*CollectionAccess) map[string]map[string][]string {
992 channelAccess := make(map[string]map[string][]string)

Callers 7

AuthenticateCookieMethod · 0.95
deleteOneTimeSessionMethod · 0.95
CreateSessionMethod · 0.95
GetSessionMethod · 0.95
DeleteSessionMethod · 0.95
TestDeleteSessionFunction · 0.80
TestSessionExtensionFunction · 0.80

Calls 1

SessionKeyMethod · 0.80

Tested by 2

TestDeleteSessionFunction · 0.64
TestSessionExtensionFunction · 0.64