Reads the current access token synchronously, outside React. Used by the Apollo auth link; components should use useToken().
useToken()
The access token, null when logged out, or undefined before the first fetch resolves.
null
undefined
Reads the current access token synchronously, outside React. Used by the Apollo auth link; components should use
useToken().