MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / getJwtToken

Function getJwtToken

packages/auth-client/src/client/utils.ts:134–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134export function getJwtToken() {
135 if (typeof window === 'undefined') return;
136 return localStorage.getItem('jwt');
137}
138
139export function setJwtToken(token: string) {
140 if (typeof window === 'undefined') return;

Callers 1

fetchDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected