const api = useApi(); if (api.user) { console.log('Connecté :', api.user.login); console.log('Token expire à :', api.user.tokenExpiry); }