Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/scality/cloudserver
/ getMemBackend
Function
getMemBackend
lib/auth/vault.js:44–49 ·
view source on GitHub ↗
(config)
Source
from the content-addressed store, hash-verified
42
}
43
44
function
getMemBackend(config) {
45
config.on(
'authdata-update'
, () => {
46
backend.refreshAuthData(config.authData);
47
});
48
return
backend;
49
}
50
51
switch (config.backends.auth) {
52
case
'mem'
:
Callers
1
vault.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected