MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / save_cached_token

Function save_cached_token

wxapp/BREO.py:148–151  ·  view source on GitHub ↗
(account_id, auth_info)

Source from the content-addressed store, hash-verified

146 return read_token_cache().get(account_id)
147
148def save_cached_token(account_id, auth_info):
149 cache = read_token_cache()
150 cache[account_id] = auth_info
151 write_token_cache(cache)
152
153def remove_cached_token(account_id):
154 cache = read_token_cache()

Callers 1

get_token_for_accountFunction · 0.85

Calls 2

read_token_cacheFunction · 0.85
write_token_cacheFunction · 0.85

Tested by

no test coverage detected