MCPcopy Create free account
hub / github.com/Noumena-Network/code / refreshAuthDependentServices

Function refreshAuthDependentServices

src/utils/postAuthFlow.ts:20–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18import { resetUserCache } from './user.js'
19
20export function refreshAuthDependentServices(): void {
21 void refreshRemoteManagedSettings()
22 void refreshPolicyLimits()
23 resetUserCache()
24 refreshGrowthBookAfterAuthChange()
25 clearTrustedDeviceToken()
26 void enrollTrustedDevice()
27}
28
29export function handleAuthChangeInCommand(
30 context: LocalJSXCommandContext,

Callers 2

runFunction · 0.85

Calls 6

refreshPolicyLimitsFunction · 0.85
resetUserCacheFunction · 0.85
clearTrustedDeviceTokenFunction · 0.85
enrollTrustedDeviceFunction · 0.85

Tested by

no test coverage detected