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

Method add

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

Source from the content-addressed store, hash-verified

71
72 // Add a token to the END of the stack
73 add({ token, expires }: TokenResponse) {
74 const t = this.tokens;
75 t.push({ token, expires });
76 localStorage.setItem(TOKEN_KEY, JSON.stringify(t));
77 }
78
79 // Drop a token from the END of the stack
80 drop() {

Callers 11

loginAsFunction · 0.80
ThemeProviderFunction · 0.80
parseDatePeriodFunction · 0.80
access-list.jsFile · 0.80
dead-host.jsFile · 0.80
proxy-host.jsFile · 0.80
user.jsFile · 0.80
certificate.jsFile · 0.80
stream.jsFile · 0.80
commands.mjsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected