MCPcopy
hub / github.com/FlowiseAI/Flowise / deleteSSOTokenCache

Method deleteSSOTokenCache

packages/server/src/CachePool.ts:76–84  ·  view source on GitHub ↗
(ssoToken: string)

Source from the content-addressed store, hash-verified

74 }
75
76 async deleteSSOTokenCache(ssoToken: string) {
77 if (process.env.MODE === MODE.QUEUE) {
78 if (this.redisClient) {
79 await this.redisClient.del(`ssoTokenCache:${ssoToken}`)
80 }
81 } else {
82 delete this.ssoTokenCache[ssoToken]
83 }
84 }
85
86 /**
87 * Add to the llm cache pool

Callers 1

ssoSuccessFunction · 0.80

Calls 1

delMethod · 0.80

Tested by

no test coverage detected