Returns the session token for the reading connection, or null while signed out.
null
Suspends until Dashboard publishes the token.
function AuthToken() { const token = useAuthToken() return <span>{token ?? 'Signed out'}</span>} Copy
function AuthToken() { const token = useAuthToken() return <span>{token ?? 'Signed out'}</span>}
Returns the session token for the reading connection, or
nullwhile signed out.Suspends until Dashboard publishes the token.