MCPcopy
hub / github.com/NginxProxyManager/nginx-proxy-manager / set

Method set

frontend/src/modules/AuthStore.ts:68–70  ·  view source on GitHub ↗
({ token, expires }: TokenResponse)

Source from the content-addressed store, hash-verified

66
67 // Set a single token on the stack
68 set({ token, expires }: TokenResponse) {
69 localStorage.setItem(TOKEN_KEY, JSON.stringify([{ token, expires }]));
70 }
71
72 // Add a token to the END of the stack
73 add({ token, expires }: TokenResponse) {

Callers 3

handleTokenUpdateFunction · 0.80
app.jsFile · 0.80
cors.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected