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

Method AuthenticatorOptions

db/database.go:2250–2254  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

2248}
2249
2250func (dbc *DatabaseContext) AuthenticatorOptions(ctx context.Context) auth.AuthenticatorOptions {
2251 defaultOptions := auth.DefaultAuthenticatorOptions(ctx)
2252 defaultOptions.MetaKeys = dbc.MetadataKeys
2253 return defaultOptions
2254}
2255
2256// GetRequestPlusSequence fetches the current value of the sequence counter for the database.
2257// Uses getSequence (instead of lastSequence) as it's intended to be up to date with allocations

Callers 11

TestCustomCookieNameFunction · 0.80
TestStarAccessFunction · 0.80
TestAllDocsAccessControlFunction · 0.80
TestGetDeletedFunction · 0.80
TestGetRemovedAsUserFunction · 0.80
TestUpdateDesignDocFunction · 0.80
TestUserFunctionAllowFunction · 0.80

Calls 1

Tested by 11

TestCustomCookieNameFunction · 0.64
TestStarAccessFunction · 0.64
TestAllDocsAccessControlFunction · 0.64
TestGetDeletedFunction · 0.64
TestGetRemovedAsUserFunction · 0.64
TestUpdateDesignDocFunction · 0.64
TestUserFunctionAllowFunction · 0.64