application - v0.1.0
    Preparing search index...
    • Récupère le token d'authentification depuis le localStorage

      Returns string | null

      Le token d'authentification ou null s'il n'existe pas ou si on est côté serveur

      const token = getAuthToken();
      if (token) {
      // Utiliser le token pour l'authentification
      }