
Lingua 🇮🇹 Italiano
Documentazione
Per iniziare
Utilizzo
FastComments PHP SSO SDK
Questo è l'SDK PHP ufficiale per l'SSO di FastComments.
SDK PHP per l'integrazione SSO di FastComments
Repository
Agenti di programmazione AI 
Fornisci al tuo agente di codifica il contesto FastComments di cui ha bisogno - widget, configurazione, Secure SSO, la REST API e gli SDK:
npx skills add fastcomments/skills
Funziona con Claude Code, Codex, Cursor, Copilot, Gemini e tutti gli altri agenti supportati dal skills CLI.
Utilizzo 
SSO Semplice
SSO Semplice è semplice da usare, ma offre meno sicurezza rispetto a SSO Sicuro:
use FastComments\SSO\FastCommentsSSO;
use FastComments\SSO\SimpleSSOUserData;
// Crea i dati utente
$userData = SimpleSSOUserData::create(
'username123',
'user@example.com',
'https://example.com/avatar.png'
);
// Crea l'oggetto SSO
$sso = new FastCommentsSSO(null, $userData);
// Ottieni il token da passare a FastComments
$token = $sso->prepareToSend();
SSO Sicuro
SSO Sicuro offre una sicurezza avanzata con verifica HMAC:
use FastComments\SSO\FastCommentsSSO;
use FastComments\SSO\SecureSSOUserData;
// Crea i dati utente
$userData = SecureSSOUserData::create(
'user-123',
'user@example.com',
'username123',
'https://example.com/avatar.png'
);
// Aggiungi dati opzionali se necessario
$userData->isAdmin = true;
$userData->groupIds = ['group-1', 'group-2'];
// Crea l'oggetto SSO con la tua chiave API
$sso = FastCommentsSSO::createSecure('your-api-key', $userData);
// Ottieni il token da passare a FastComments
$token = $sso->prepareToSend();
Documentazione 
Per la documentazione completa sul SSO di FastComments, consultare la documentazione di FastComments.
Hai bisogno di aiuto?
Se riscontri problemi o hai domande sul PHP SSO SDK, per favore:
Contribuire
I contributi sono benvenuti! Visita il repository GitHub per le linee guida sui contributi.