MCPcopy Create free account
hub / github.com/Roy3838/Observer / getWhitelistCode

Method getWhitelistCode

app/src/utils/settings.ts:278–280  ·  view source on GitHub ↗

The persisted whitelist code, or null if one hasn't been generated yet.

()

Source from the content-addressed store, hash-verified

276
277 /** The persisted whitelist code, or null if one hasn't been generated yet. */
278 public getWhitelistCode(): string | null {
279 return localStorage.getItem(this.WHITELIST_CODE_KEY);
280 }
281
282 /**
283 * Mints a fresh code and overwrites the stored one, for "rotate to a new contact".

Callers 6

UserInfoModalFunction · 0.80
UserInfoCardFunction · 0.80
useRemoteControlFunction · 0.80
checkFunction · 0.80
getMcpSystemPromptFunction · 0.80
registry.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected